Flake8-logging

Latest version: v1.7.0

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

Scan your dependencies

Page 2 of 2

1.2.0

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

* Add rule LOG009 that detects use of the undocumented ``WARN`` constant.

* Add rule LOG010 that detects passing calls to ``exception()`` passing a handled exception as the first argument.

* Add rule LOG011 that detects pre-formatted log messages.

1.1.0

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

* LOG001: Avoid detecting inside function definitions when using ``Logger`` directly.

* Add rule LOG005 that recomends ``exception()`` over ``error()`` within ``except`` clauses.

* Add rule LOG006 that detects redundant ``exc_info`` arguments in calls to ``exception()``.

* Add rule LOG007 that detects ``exception()`` calls with falsy ``exc_info`` arguments, which are better written as ``error()``.

* Add rule LOG008 that detects calls to the deprecated, undocumented ``warn()`` method.

1.0.2

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

* Change error codes to start with ``LOG`` so they are more specific.

1.0.1

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

* Correct entry point definition so codes are picked up by default.

1.0.0

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

* Initial release.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.