pylint
======
`pylint `__ is a popular linter for python. It is now the default python
linter in VS Code.
Please note that we also have :ref:`Flake8` available as a linter.
Run Locally
-----------
The mozlint integration of pylint can be run using mach:
.. parsed-literal::
$ mach lint --linter pylint
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
Sources
-------
* `Configuration (YAML) `_
* `Source `_