pylint¶
pylint is a popular linter for python. It is now the default python linter in VS Code.
Please note that we also have Flake8 available as a linter.
Run Locally¶
The mozlint integration of pylint can be run using mach:
$ mach lint --linter pylint <file paths>
Configuration¶
To enable pylint on new directory, add the path to the include section in the pylint.yml file.
We enabled the same Pylint rules as VS Code. See in pylint.py for the full list