Pep8-naming

Latest version: v0.14.1

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

Scan your dependencies

Page 3 of 5

0.9.0

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

* Drop support for Python 3.3 and 3.4.

* Support positional-only arguments in Python 3.8.

* Recognize ``abc.ABCMeta`` as a metaclass base type.

* ``ignore-names`` now also applies to the N803 check.

* Handle assigning exceptions to object attributes in Python 2.

0.8.2

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

* Fix a problem with ``ignore-names`` option initialization.

0.8.1

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

* ``ignore-names`` now also applies to the N806, N815, and N816 checks.

* ``failureException``, ``longMessage``, and ``maxDiff`` have been added to
the default ``ignore-names`` list.

* Allow lowercase names to be imported as just ``_``.

* Allow function arguments to be named just ``_``.

* Support Python 2's tuple syntax in ``except`` clauses.

0.8.0

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

* Detect N806 errors within ``for`` loops and exception handlers.

* Improve support for non-ASCII characters.

* Detect mixedCased variable names at class (N815) and global (N816) scope.

* Ignore Django's ``setUpTestData`` method by default.

* Fix column offsets for N803, N804, and N805 under Python 3.

* Detect underscores within class names as N801 errors.

* Don't flag ``__getattr__`` and ``__dir__`` as N807 errors. (See
`PEP 562 <https://www.python.org/dev/peps/pep-0562/>`_).

* ``async`` function and method names are now checked.

* Detect N806 errors in generator expressions and comprehensions.

* Detect N81x errors in ``import x as y`` statements.

0.7.0

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

* Detect N806 in ``with ... as ...:`` statements.

* Detect N806 in multiple assignment statements, e.g., ``Foo, Bar =
unpacking``.

* Allow class names to be properly ignored.

* Remove spurious 'xxx' from error message

* Detect N807 within conditional statements.

0.6.1

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

* Fix N804 check for ``cls`` used in metaclass methods (See also
https://github.com/PyCQA/pep8-naming/issues/53)

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.