A pylint plugin to ignore error codes per file.
Project description
Pylint Per File Ignores!
This pylint plugin will enable per-file-ignores in your project!
Install
# w/ poetry
poetry add --dev pylint-per-file-ignores
# w/ pip
pip install pylint-per-file-ignores
Add to Pylint Settings
Edit your pyproject.toml
:
[tool.pylint.MASTER]
load-plugins=[
"pylint-per-file-ignores",
...
]
Usage
Add a section to your pyproject.toml
with the patterns and codes you would like to ignore.
[tool.pylint-per-file-ignores]
"/folder_1/"="missing-function-docstring,W0621,W0240,C0115"
"file.py"="C0116,E0001"
Project details
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 pylint-per-file-ignores-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4dd687b7dbe9791b0e277286f8e8fb7b405e98470f9e638f72fa61aa358bbfb |
|
MD5 | e283faf86706b21dd46e9320c51df791 |
|
BLAKE2b-256 | 71190b2009f6970413724e21925f90968c98c8fbc754d6d01dc8d3c1d337e0f7 |
Close
Hashes for pylint_per_file_ignores-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60145acd3c95bd10acbcb51bd6a836d64edbcde656d1d6656a99d1b775f64701 |
|
MD5 | f779ecefec4b51ee5a3b2773b5842334 |
|
BLAKE2b-256 | 497760387aa94bb267ff9808f44245c6e1178545509a889c6d201e97f7727bf4 |