This pylint plugin will enable per-file-ignores in your project!
# w/ poetry
poetry add --dev pylint-per-file-ignores
# w/ pip
pip install pylint-per-file-ignores
Edit your pyproject.toml
:
[tool.pylint.MASTER]
load-plugins=[
"pylint_per_file_ignores",
...
]
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"
To pylint :) And the plugin pylint-django
who produced most of the complex code.
This repo uses commitizen and semantic release. Please commit using npm run commit
.