A flake8 plugin for detecting logging statements with mismatched argument counts
Project description
flake8-logging-arg-count
flake8 plugin that checks if the number of arguments is inline with the number of %s
placeholders.
- For example:
-
This is OK
logging.warning('My message %s', x)
-
These will trigger
LAC101
logging.warning('My message %s', x, y)
logging.warning('My message %s %s', x)
-
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flake8-logging-arg-count-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f797fb8ac827c055bfb7f6cac3116c35feaf2585cf7b9ea386bfd0c6ffd2988 |
|
MD5 | 16e61ec92587c122a0199bafb923b3d8 |
|
BLAKE2b-256 | ef84f409bcb8a0284ecf6c9006361b788901e7fb1b966da240f74d2fcf642da4 |
Close
Hashes for flake8_logging_arg_count-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a724ac329a3d1032efcce318bd627c30e9ec7fc9023faf192852a846706d425f |
|
MD5 | c9b030182994dc6d89b56dda8a08450b |
|
BLAKE2b-256 | eb6e8f684dfde293b2c735861256ce7929808f41b1114bbc6c1011ce9657fa0b |