Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #3149

Re: automated pep8 reformatter ?

References <BANLkTi=EUY4hb+2EAx9QNmJNaDa+TQuFQA@mail.gmail.com>
From James Mills <prologic@shortcircuit.net.au>
Date 2011-04-14 12:01 +1000
Subject Re: automated pep8 reformatter ?
Newsgroups comp.lang.python
Message-ID <mailman.330.1302746535.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Apr 14, 2011 at 11:47 AM, James Mills
<prologic@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"

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: automated pep8 reformatter ? James Mills <prologic@shortcircuit.net.au> - 2011-04-14 12:01 +1000

csiph-web