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 step forward might be the ‘reindent.py’ program included with the
Python distribution.

Many PEP 8 violations can't be automatically fixed, they require the
programmer to make a decision and edit the code. So first, introduce a
code scanner that reports PEP 8 violations, such as ‘pylint’.

-- 
 \        “[R]ightful liberty is unobstructed action, according to our |
  `\        will, within limits drawn around us by the equal rights of |
_o__)                                 others.” —Thomas Jefferson, 1819 |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to