automated pep8 reformatter ?

Andrea Crotti andrea.crotti.0 at gmail.com
Thu Apr 14 05:56:21 EDT 2011


James Mills <prologic at shortcircuit.net.au> writes:

> Does anyone know of a tool that will help with
> reformatting badly written code to be pep8 compliant ?
>
> a 2to3 for pep8 ?
>

What I daily and with great happiness use is flymake-mode in emacs.
Combined with pylint, pep8 and pychecker I can see while I'm programming
all the possible problems that are caught in my program with those
tools.

An automatic tool maybe is not such a good idea, most of those warnings
have to be checked and analyzed before changing something.



More information about the Python-list mailing list