codeclimate-pylint
is a Code Climate engine that wraps the Pylint source code analyzer. You can run it on your command line using the Code Climate CLI, or on our hosted analysis platform.
- If you haven't already, install the Code Climate CLI.
- Enable the engine in your .codeclimate.yml file:
engines:
pylint:
enabled: true
- You're ready to analyze! Browse into your project's folder and run
codeclimate analyze
.
You can configure which files to be analyzed in your .codeclimate.yml
file.
Other configurations can be made through a .pylintrc
file. More information can be found on Pylint's documentation
PYTHONPATH can be modified by setting the PYTHONPATH configuration variable:
engines:
pylint:
enabled: true
PYTHONPATH:
- src
This adds the src
directory to PYTHONPATH before running pylint
. Relative paths are properly resolved to the current directory.
Plugin activation can also be made in .codeclimate.yml
:
engines:
pylint:
enabled: true
plugins:
- django
Currently the following plugins are supported:
We welcome PRs adding support for other plugins.
For help with Pylint, check out their documentation.
If you're running into a Code Climate issue, first check out this project's GitHub Issues, as your question may have already been covered. If not, go ahead and open a support ticket with us.