pythonpep8code-inspectionpycodestylepep8-checker

pep8 - statistics for whole project


I am working on a Python project and I am using the PyPI pep8 checker.

Is there a simple way to get a pep8 rating for my project? Like a percentage (eg. 10 lines doesn't match pep8, out of 100 lines) or any number to rate it?

As far as I know pep8 / pycodestyle do not provide such functionality.


Solution

  • You might use Pylint. It provides a rating and a very nice and descriptive report.
    In addition, there are more verification checks and options than just PEP8.