Source formatting fixer?
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Tue Dec 11 15:24:44 EST 2007
On Mon, 10 Dec 2007 13:55:15 -0800, Bret wrote:
> Does anyone know of a package that can be used to "fix" bad formatting
> in Python code? I don't mean actual errors, just instances where
> someone did things that violate the style guide and render the code
> harder to read.
>
> If nothing exists, I'll start working on some sed scripts
sed???
Python has a range of tools for processing Python source code, which is
probably a far better solution than processing it as raw text.
--
Steven.
More information about the Python-list
mailing list