An awful lot of code is needed to make it work apparently, not very neat. Pep8 instead uses tokenize and regular expressions only, and the code is much neater, not sure how is possible to make it fix things though. -- http://mail.python.org/mailman/listinfo/python-list
So apparently PythonTidy uses the AST (the compiler module) to find out
the problems,
and generates new nodes with a put method to write out the code with the
fix.
- whitespace cleanup Andrea Crotti
- Re: whitespace cleanup Pedro Henrique G. Souto
- Re: whitespace cleanup Andrea Crotti
- Re: whitespace cleanup Chris Angelico
- Re: whitespace cleanup Pedro Henrique G. Souto
- Re: whitespace cleanup Andrea Crotti
- Re: whitespace cleanup Andrea Crotti