Flake8-logging

Latest version: v1.6.0

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

Scan your dependencies

Page 1 of 2

1.6.0

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

* Add rule LOG015 that detects use of the root logger through calls like ``logging.info()``.

Thanks to John Litborn in `PR 96 <https://github.com/adamchainz/flake8-logging/pull/96>`__.

1.5.0

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

* Extend LOG003 disallowed ``extra`` keys to include ``message``.

Thanks to Bartek Ogryczak in `PR 77 <https://github.com/adamchainz/flake8-logging/pull/77>`__.

1.4.0

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

* Add rule LOG013 that detects mismatches between named ``%``-style formatting placeholders and keys in dict argument.

* Add rule LOG014 that detects ``exc_info=True`` outside of exception handlers.

1.3.1

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

* Fix LOG012 false positive with unpacked arguments like ``*args``.

* Fix LOG012 false positive with ``%%`` in formatting strings.

1.3.0

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

* Add rule LOG012 that detects mismatches between ``%``-style formatting placeholders and arguments.

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.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.