Pycodestyle

Latest version: v2.11.1

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

Scan your dependencies

Page 4 of 9

1.6.1

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

Changes:

* Assign variables before referenced. (Issue 287)

Bugs:

* Exception thrown due to unassigned ``local_dir`` variable. (Issue 377)

1.6.0

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

News:

* Ian Lee <ianlee1521gmail.com> joined the project as a maintainer.

Changes:

* Report E731 for lambda assignment. (Issue 277)

* Report E704 for one-liner def instead of E701.
Do not report this error in the default configuration. (Issue 277)

* Replace codes E111, E112 and E113 with codes E114, E115 and E116
for bad indentation of comments. (Issue 274)

* Report E266 instead of E265 when the block comment starts with
multiple `. (Issue 270)

* Report E402 for import statements not at the top of the file. (Issue 264)

* Do not enforce whitespaces around ``**`` operator. (Issue 292)

* Strip whitespace from around paths during normalization. (Issue 339 / 343)

* Update ``--format`` documentation. (Issue 198 / Pull Request 310)

* Add ``.tox/`` to default excludes. (Issue 335)

* Do not report E121 or E126 in the default configuration. (Issues 256 / 316)

* Allow spaces around the equals sign in an annotated function. (Issue 357)

* Allow trailing backslash if in an inline comment. (Issue 374)

* If ``--config`` is used, only that configuration is processed. Otherwise,
merge the user and local configurations are merged. (Issue 368 / 369)

Bug fixes:

* Don't crash if Checker.build_tokens_line() returns None. (Issue 306)

* Don't crash if os.path.expanduser() throws an ImportError. (Issue 297)

* Missing space around keyword parameter equal not always reported, E251.
(Issue 323)

* Fix false positive E711/E712/E713. (Issues 330 and 336)

* Do not skip physical checks if the newline is escaped. (Issue 319)

* Flush sys.stdout to avoid race conditions with printing. See flake8 bug:
https://gitlab.com/pycqa/flake8/issues/17 for more details. (Issue #363)

1.5.7

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

Bug fixes:

* Skip the traceback on "Broken pipe" signal. (Issue 275)

* Do not exit when an option in ``setup.cfg`` or ``tox.ini``
is not recognized.

* Check the last line even if it does not end with a newline. (Issue 286)

* Always open files in universal newlines mode in Python 2. (Issue 288)

1.5.6

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

Bug fixes:

* Check the last line even if it has no end-of-line. (Issue 273)

1.5.5

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

Bug fixes:

* Fix regression with E22 checks and inline comments. (Issue 271)

1.5.4

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

Bug fixes:

* Fix negative offset with E303 before a multi-line docstring.
(Issue 269)

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.