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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylint-per-file-ignores-0.1.0.tar.gz.
File metadata
- Download URL: pylint-per-file-ignores-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.7.2 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4dd687b7dbe9791b0e277286f8e8fb7b405e98470f9e638f72fa61aa358bbfb
|
|
| MD5 |
e283faf86706b21dd46e9320c51df791
|
|
| BLAKE2b-256 |
71190b2009f6970413724e21925f90968c98c8fbc754d6d01dc8d3c1d337e0f7
|
File details
Details for the file pylint_per_file_ignores-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pylint_per_file_ignores-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.7.2 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60145acd3c95bd10acbcb51bd6a836d64edbcde656d1d6656a99d1b775f64701
|
|
| MD5 |
f779ecefec4b51ee5a3b2773b5842334
|
|
| BLAKE2b-256 |
497760387aa94bb267ff9808f44245c6e1178545509a889c6d201e97f7727bf4
|