I was using an old version of pythontidy. I used 1.16 and it did in fact a "remarkable job".
web2py is now pep8 compliant! In trunk. Thank you chuck for pythontidy and glad to have you on board. Do you want to be in change of pep8 compliance for web2py? Massimo On Feb 3, 9:20 am, Chuck Rhode <[email protected]> wrote: > On Feb 3, 4:08 am, Markus Gritsch <[email protected]> wrote: > > > Now, now. I did not know PythonTidy before, but to be fair one has to > > admit, that it does a remarkable job. > > Thank you for your kind words. I noticed a link to this discussion in > the Web-access log for my site. I am not familiar with *web2py*, but > I am the author of *PythonTidy*. If any of you need tweaks, let me > know. I've had such requests and tried similar things before. > > Admittedly, *PythonTidy* is rough on commentary in the code. It has > global variable settings that deal with rendering text. Most users > want comments wrapped to their ideal margins except for tabular info, > which they want left alone. *PythonTidy* does not attempt to make > this distinction, however. > > Doc strings are identified by the Python parser. Inline and > interstitial remarks are not. *PythonTidy* recovers remarks and line > numbers from the tokenizer module, but the line numbers that the > parser module reports are only approximate, so matching remarks back > to the line where they occurred in the original code is slightly > stochastic. *PythonTidy* can only guess whether the original remark > was inline or interstitial. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

