automated pep8 reformatter ?

Andrea Crotti andrea.crotti.0 at
Thu Apr 14 11:56:21 CEST 2011

James Mills <prologic at> 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

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