Skip to content

Update pycodestyle to 2.12.1#270

Closed
pyup-bot wants to merge 1 commit intomainfrom
pyup-update-pycodestyle-2.8.0-to-2.12.1
Closed

Update pycodestyle to 2.12.1#270
pyup-bot wants to merge 1 commit intomainfrom
pyup-update-pycodestyle-2.8.0-to-2.12.1

Conversation

@pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Aug 5, 2024

This PR updates pycodestyle from 2.8.0 to 2.12.1.

Changelog

2.12.1

-------------------

Changes:

* Properly preserve escaped `{` and `}` in fstrings in logical lines in 3.12+.
PR 1252.

2.12.0

-------------------

Changes:

* E721: Fix false positive of the form `x.type(...) ==`.  PR 1228.
* E502: Fix false-negative with a backslash escape in a comment.  PR 1234.
* E204: New lint forbidding whitespace after decorator ``.  PR 1247.

2.11.1

-------------------

Changes:

* E275: fix false positive with fstrings containing keyword parts in python 3.12

2.11.0

-------------------

Changes:

* Drop EOL python 3.6 / 3.7.  PR 1129, 1160.
* Add support for python 3.12.  PR 1147, 1148, 1152, 1153, 1154, 1163,
1164, 1165, 1166, 1176, 1177, 1182.
* E721: adjust handling of type comparison.  Allowed forms are now
``isinstance(x, t)`` or ``type(x) is t``.  PR 1086, 1167.
* Remove handling of python 2 ``<>`` operator.  PR 1161.
* W606: removed.  ``async`` / ``await`` are always keywords.  PR 1162.
* Internal: move tests to pytest.  PR 1168, 1169, 1171, 1173, 1174, 1175.
* Remove handling of python 2 ``ur''`` strings.  PR 1181.

2.10.0

-------------------

Changes:

* E231: allow trailing comma inside 1-tuples in ``[]``.  PR 1108.
* W601, W602, W603, W604: removed (no longer relevant in python 3).  PR 1111.
* E741: also apply to lambdas.  PR 1106.
* E741: fix false positive for comparison operators.  PR 1118.

2.9.1

------------------

Changes:

* E275: fix false positive for yield expressions.  PR 1091.

2.9.0

------------------

Changes:

* E221, E222, E223, E224: add support for ``:=`` operator.  PR 1032.
* Drop python 2.7 / 3.5.
* E262: consider non-breaking spaces (``\xa0``) as whitespace.  PR 1035.
* Improve performance of ``_is_binary_operator``.  PR 1052.
* E275: requires whitespace around keywords.  PR 1063.
* Add support for python 3.11. PR 1070.
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #357

@pyup-bot pyup-bot closed this Mar 29, 2025
@fabiolssdev fabiolssdev deleted the pyup-update-pycodestyle-2.8.0-to-2.12.1 branch March 29, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant