Pycodestyle

Latest version: v2.11.1

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

Scan your dependencies

Page 6 of 9

1.4.4

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

* Report E227 or E228 instead of E225 for whitespace around bitwise, shift
or modulo operators. (Issue 166)

* Change the message for E226 to make clear that it is about arithmetic
operators.

* Fix a false positive E128 for continuation line indentation with tabs.

* Fix regression with the ``--diff`` option. (Issue 169)

* Fix the ``TestReport`` class to print the unexpected warnings and
errors.

1.4.3

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

* Hide the ``--doctest`` and ``--testsuite`` options when installed.

* Fix crash with AST checkers when the syntax is invalid. (Issue 160)

* Read from standard input if no path is specified.

* Initiate a graceful shutdown on ``Control+C``.

* Allow changing the ``checker_class`` for the ``StyleGuide``.

1.4.2

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

* Support AST checkers provided by third-party applications.

* Register new checkers with ``register_check(func_or_cls, codes)``.

* Allow constructing a ``StyleGuide`` with a custom parser.

* Accept visual indentation without parenthesis after the ``if``
statement. (Issue 151)

* Fix UnboundLocalError when using `` noqa`` with continued lines.
(Issue 158)

* Re-order the lines for the ``StandardReport``.

* Expand tabs when checking E12 continuation lines. (Issue 155)

* Refactor the testing class ``TestReport`` and the specific test
functions into a separate test module.

1.4.1

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

* Allow sphinx.ext.autodoc syntax for comments. (Issue 110)

* Report E703 instead of E702 for the trailing semicolon. (Issue 117)

* Honor `` noqa`` in addition to `` nopep8``. (Issue 149)

* Expose the ``OptionParser`` factory for better extensibility.

1.4

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

* Report E226 instead of E225 for optional whitespace around common
operators (``*``, ``**``, ``/``, ``+`` and ``-``). This new error
code is ignored in the default configuration because PEP 8 recommends
to "use your own judgement". (Issue 96)

* Lines with a `` nopep8`` at the end will not issue errors on line
length E501 or continuation line indentation E12*. (Issue 27)

* Fix AssertionError when the source file contains an invalid line
ending ``"\r\r\n"``. (Issue 119)

* Read the ``[pep8]`` section of ``tox.ini`` or ``setup.cfg`` if present.
(Issue 93 and 141)

* Add the Sphinx-based documentation, and publish it
on https://pycodestyle.readthedocs.io/. (Issue #105)

1.3.4

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

* Fix false positive E124 and E128 with comments. (Issue 100)

* Fix error on stdin when running with bpython. (Issue 101)

* Fix false positive E401. (Issue 104)

* Report E231 for nested dictionary in list. (Issue 142)

* Catch E271 at the beginning of the line. (Issue 133)

* Fix false positive E126 for multi-line comments. (Issue 138)

* Fix false positive E221 when operator is preceded by a comma. (Issue 135)

* Fix ``--diff`` failing on one-line hunk. (Issue 137)

* Fix the ``--exclude`` switch for directory paths. (Issue 111)

* Use ``-`` filename to read from standard input. (Issue 128)

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.