flake8-logging-arg-count-0.3.0
توضیحات
A flake8 plugin for detecting logging statements with mismatched argument counts
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flake8-logging-arg-count-0.3.0 |
| نام | flake8-logging-arg-count |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/flake8-logging-arg-count/ |
| مجوز | Apache License Version 2.0 |
# 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)`
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl flake8-logging-arg-count-0.3.0:
pip install flake8-logging-arg-count-0.3.0.whl
نصب پکیج tar.gz flake8-logging-arg-count-0.3.0:
pip install flake8-logging-arg-count-0.3.0.tar.gz