1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 20:35:34 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}}`