Language / Framework: Python
pep8 Version: 1.6.2
Pep8 provides feedback on Python code style following the rules outlined in the PEP 8 style guide.
To enable pep8 analysis, add the following to your
.codeclimate.yml configuration file:
plugins: pep8: enabled: true
More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate
PEP8 vs pycodestyle
The PEP8 project has been renamed to pycodestyle. The Code Climate PEP8 engine has not been updated to incorporate that name change.
To make configuration specifications in your setup.cfg file or tox.ini file, the Code Climate PEP8 engine requires that you include those changes in:
- instead of
You can configure pep8 using pep8 config files as described in the official pep8 documentation: http://pep8.readthedocs.org/en/latest/intro.html#configuration
Lots has been written about pep8 - this is a great place to start: https://www.python.org/dev/peps/pep-0008/
Updated 2 years ago