Pycodestyle

Latest version: v2.13.0

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 10

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.

2.8.0

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

Changes:

* Drop python 3.4. PR 982.
* E712: fix false negative with multiple comparisons. PR 987.
* E211: fix false positives with ``match``. PR 989.
* E772: improve performance of bare except check. PR 992.
* Backport tokenize performance improvement from python 3.10. PR 993.
* E225: fix for lambdas containing positional-only args. PR 1012.
* Remove ``indent_size_str`` "setting". PR 995.
* E402: allow ``__all__`` to be typed. PR 1019.
* E225: fix false positives for ``*`` in ``case``. PR 1003.
* E201: detect tabs as whitespace. PR 1015.

2.7.0

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

Changes:

* Fix physical checks (such as W191) at end of file. PR 961.
* Add ``--indent-size`` option (defaulting to ``4``). PR 970.
* W605: fix escaped crlf false positive on windows. PR 976.

2.6.0

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

Announcements:

* Anthony Sottile (asottile) joined the team as a core developer. :tada:

Changes:

* E306: fix detection inside ``async def``. PR 929.
* E301: fix regression disallowing decorated one-liners. PR 927.
* E714: fix false positive with chained ``is not``. PR 931.

2.6.0a1

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

New checks:

* E225: require whitespace around ``and`` ``in`` ``is`` and ``or``. PR 847.

Changes:

* E117: fix indentation using tabs by treating as 8-space indents. PR 837.
* E721: fix false positive with names containg ``istype``. PR 850.
* E741: allow ``l`` as a named argument in a function call. PR 853.
* E302: fix false-negative with decorated functions. PR 859.
* W504: ellipsis (``...``) is no longer treated as a binary operator. PR 875.
* E402: allow ``with``, ``if``, ``elif``, ``else`` to guard imports. PR 834.
* Add support for assignment expressions ``:=`` (PEP 572). PR 879.
* Add support for positional-only arguments ``/`` (PEP 570). PR 872, 918.
* Add support for python 3.8.
* Add support for matrix multiplication operator ` (PEP 465). PR 897.
* Support visual indent for continuation lines for ``with`` / ``assert`` /
``raise``. PR 912.
* E302: allow two blank lines after a block of one-liners. PR 913.
* E302: allow two-and-fewer newlines at the top of the file. PR 919.

Page 2 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.