pylint: add page (#7385)

This commit is contained in:
Adam Matan
2021-11-07 22:45:39 +02:00
committed by GitHub
parent 34bc4af530
commit c10ebac537

16
pages/common/pylint.md Normal file
View File

@@ -0,0 +1,16 @@
# pylint
> A Python code linter.
> More information: <https://pylint.pycqa.org/en/latest/>.
- Show lint errors in a file:
`pylint {{path/to/file.py}}`
- Lint a file and use a configuration file (usually named `pylintrc`):
`pylint --rcfile {{path/to/pylintrc}} {{path/to/file.py}}`
- Lint a file and disable a specific error code:
`pylint --disable {{C,W,no-error,design}} {{path/to/file}}`