Pycodestyle

Latest version: v2.11.1

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

Scan your dependencies

Page 3 of 9

2.3.0

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

New Checks:

* Add E722 warning for bare ``except`` clauses
* Report E704 for async function definitions (``async def``)

Bugs:

* Fix another E305 false positive for variables beginning with "class" or
"def"
* Fix detection of multiple spaces between ``async`` and ``def``
* Fix handling of variable annotations. Stop reporting E701 on Python 3.6 for
variable annotations.

2.2.0

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

Announcements:

* Added Make target to obtain proper tarball file permissions; 599

Bugs:

* Fixed E305 regression caused by 400; 593

2.1.0

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

Announcements:

* Change all references to the pep8 project to say pycodestyle; 530

Changes:

* Report E302 for blank lines before an "async def"; 556
* Update our list of tested and supported Python versions which are 2.6, 2.7,
3.2, 3.3, 3.4 and 3.5 as well as the nightly Python build and PyPy.
* Report E742 and E743 for functions and classes badly named 'l', 'O', or 'I'.
* Report E741 on 'global' and 'nonlocal' statements, as well as prohibited
single-letter variables.
* Deprecated use of `[pep8]` section name in favor of `[pycodestyle]`; 591
* Report E722 when bare except clause is used; 579

Bugs:

* Fix opt_type AssertionError when using Flake8 2.6.2 and pycodestyle; 561
* Require two blank lines after toplevel def, class; 536
* Remove accidentally quadratic computation based on the number of colons. This
will make pycodestyle faster in some cases; 314

2.0.0

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

Announcements:

* Repository renamed to `pycodestyle`; Issue 466 / 481.
* Added joint Code of Conduct as member of PyCQA; 483

Changes:

* Added tox test support for Python 3.5 and pypy3
* Added check E275 for whitespace on `from ... import ...` lines; 489 / 491
* Added W503 to the list of codes ignored by default ignore list; 498
* Removed use of project level `.pep8` configuration file; 364

Bugs:

* Fixed bug with treating `~` operator as binary; 383 / 384
* Identify binary operators as unary; 484 / 485

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)

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.