automated pep8 reformatter ?

James Mills prologic at shortcircuit.net.au
Wed Apr 13 22:01:47 EDT 2011


On Thu, Apr 14, 2011 at 11:47 AM, James Mills
<prologic at shortcircuit.net.au> wrote:
> Does anyone know of a tool that will help with
> reformatting badly written code to be pep8 compliant ?
>
> a 2to3 for pep8 ?

In case there is no such tool (And I don't have the time to write one)
I've found this to be really useful (so far):

http://www.vim.org/scripts/script.php?script_id=2914

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"



More information about the Python-list mailing list