Pycodestyle

Latest version: v2.12.1

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

Scan your dependencies

Page 4 of 10

1.7.0

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

Announcements:

* Repository moved to PyCQA Organization on GitHub:
https://github.com/pycqa/pep8

Changes:

* Reverted the fix in 368, "options passed on command line are only ones
accepted" feature. This has many unintended consequences in pep8 and flake8
and needs to be reworked when I have more time.
* Added support for Python 3.5. (Issue 420 & 459)
* Added support for multi-line config_file option parsing. (Issue 429)
* Improved parameter parsing. (Issues 420 & 456)

Bugs:

* Fixed BytesWarning on Python 3. (Issue 459)

1.6.2

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

Changes:

* Added check for breaking around a binary operator. (Issue 197, Pull 305)

Bugs:

* Restored config_file parameter in process_options(). (Issue 380)

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)

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.