Checking the coding style
kevin.p.dwyer at gmail.com
Sun Feb 7 20:22:26 CET 2010
On Sun, 07 Feb 2010 19:36:10 +0100, Pablo Recio Quijano wrote:
> I'm finishing a project writen in Python, and I realize about the
> document PEP8 - Style Guide for Python Code .
> Is there any app or script that checks if my project pass that style
> guide? I also worked with Drupal, and I know there is some modules and
> scripts that checks its coding standars  and it's very usefull to
> clean the code.
> Thanks in advance!
>  http://www.python.org/dev/peps/pep-0008/ 
The pep8 package (http://pypi.python.org/pypi/pep8) can do this, though
I have never used it myself. PyLint is a customisable static analysis
program that checks style among other things.
More information about the Python-list