James Mills <prolo...@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. -- http://mail.python.org/mailman/listinfo/python-list