PEP 8 style enforcing program



Some recent posts about Python programming style got me thinking.
Since we have the PEP 8 which gives some guidelines about the style to
be used, do we have any program that can check for violations of these
guidelines within the source code? I understand that there are a lot
of code beautifiers out there, but i haven't seen one specially
tailored for Python... Is there even a desire in Python community for
a program like this (by Python community I mean the people in this
group:) ) ? I think it would be a nice little project for practice and
I'd like to do it, but if there is already something like this then I
can probably spend my time on something more productive. So, I'd like
to hear your opinion on this...
There is one thing that I don't understand about PEP 8 - why is using
spaces considered more desirable than using tabs for indentation?

.



Relevant Pages

  • Re: Coding Standards (and Best Practices)
    ... >> I am fairily new to Python, but I am really liking what I am seeing. ... >> Python as our programming language. ... Are there any well defined guidelines established? ... enforce coding standards on your code base. ...
    (comp.lang.python)
  • how to build a forum?
    ... forum for our corporate environment. ... Python. ... guidelines about this but ended up in getting tuts for building ... I would like to know some useful links to learn or some usefull ...
    (comp.lang.python)
  • Re: Python style guidelines
    ... Josef Meile wrote: ... >I agree, those are good guidelines, but I don't agree with: ... > types are new in Python 2.3): ... --Remco Gerlich, comp.lang.python ...
    (comp.lang.python)
  • Coding Standards (and Best Practices)
    ... I am fairily new to Python, but I am really liking what I am seeing. ... is going to re-design some automation projects, and we were going to use ... Python as our programming language. ... Are there any well defined guidelines established? ...
    (comp.lang.python)
  • Re: Coding Standards (and Best Practices)
    ... > I am fairily new to Python, but I am really liking what I am seeing. ... > Python as our programming language. ... Are there any well defined guidelines established? ... Trent Mick ...
    (comp.lang.python)