Re: Source formatting fixer?

2007-12-14 Thread Gabriel Genellina
En Fri, 14 Dec 2007 15:33:44 -0300, Bret <[EMAIL PROTECTED]> escribió: > The thing is, I'm not so much trying to fix indentation issues as > spacing problems that affect readability but not program structure. > All the indentation is fine, this is more trying to change things > like: > > if ((one=

Re: Source formatting fixer?

2007-12-14 Thread Bret
The thing is, I'm not so much trying to fix indentation issues as spacing problems that affect readability but not program structure. All the indentation is fine, this is more trying to change things like: if ((one==two)and(three==four)): a=b+42 c=Classname (a,b) print "Class %s create

Re: Source formatting fixer?

2007-12-11 Thread Gabriel Genellina
En Tue, 11 Dec 2007 12:22:11 -0300, Jesse Jaggars <[EMAIL PROTECTED]> escribi�: > 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 rend

Re: Source formatting fixer?

2007-12-11 Thread Steven D'Aprano
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 exist

Re: Source formatting fixer?

2007-12-11 Thread Jesse Jaggars
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 scri

Source formatting fixer?

2007-12-10 Thread Bret
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 or something to add