Re: source beautifier

2008-05-12 Thread Marco Mariani

Stefan Behnel wrote:


http://www.polystyle.com/features/python-beautifier.jsp

I've never used it, but the example is quite clear.


I tend to believe that running these tools on some average Python code would
not even change whitespace. ;)


I bet it's idempotent against _your_ code, but not in the context of 
python beginners or people who just made up their mind about what coding 
style to use.

--
http://mail.python.org/mailman/listinfo/python-list


Re: source beautifier

2008-05-09 Thread Stefan Behnel
Marco Mariani wrote:
 Is there a program (free, payware, whatever) like polystyle for
 linux/python?
 
 http://www.polystyle.com/features/python-beautifier.jsp
 
 I've never used it, but the example is quite clear.

I tend to believe that running these tools on some average Python code would
not even change whitespace. ;)


 I just need it for python -- but it should not force me to use PEP8.

IMHO, a tool that automatically corrects code to comply with PEP-8 would
actually be more helpful, but I guess that's pretty far reached.

Stefan
--
http://mail.python.org/mailman/listinfo/python-list


source beautifier

2008-05-08 Thread Marco Mariani


Is there a program (free, payware, whatever) like polystyle for 
linux/python?


http://www.polystyle.com/features/python-beautifier.jsp

I've never used it, but the example is quite clear.
I just need it for python -- but it should not force me to use PEP8.

--
http://mail.python.org/mailman/listinfo/python-list