pylint is a popular linter for python developed by Logilab. 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>


To enable pylint on new directory, add the path to the include section in the pylint.yml file.