automated pep8 reformatter ?

James Mills prologic at shortcircuit.net.au
Thu Apr 14 05:18:13 CEST 2011


On Thu, Apr 14, 2011 at 1:06 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> Most of those don't have sensible automated responses. There aren't good
> automatic answers to “where should this line of code be broken to fit
> within 80 columns?” or “where should this end-line comment go instead?”.

And of course you are quite right. But it doesn't hurt to ask :)

> If you come up with algorithmic answers to all the above problems, yes,
> you could write such a tool. But I doubt it would be generally
> applicable; and consequently, I doubt that a generally-applicable tool
> already exists that fits your tastes.

I doubt such a tool could be written either.

The vim plugin I referenced earlier works nicely enough.

cheers
James

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



More information about the Python-list mailing list