diff --git a/pages/common/pylint.md b/pages/common/pylint.md new file mode 100644 index 0000000000..c9b838e5ea --- /dev/null +++ b/pages/common/pylint.md @@ -0,0 +1,16 @@ +# pylint + +> A Python code linter. +> More information: . + +- 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}}`