[Python-Dev] PEP 8 pylintrc?

skip at pobox.com skip at pobox.com
Mon Apr 24 18:44:22 CEST 2006

    >> Has anybody written a pylintrc file that attempts to reflect the
    >> recommendations of PEP 8 the extent possible?

    Sylvain> I would be actually interested about what you think is not
    Sylvain> conformant, or even which test are missing for a better "PEP8
    Sylvain> compliance test".

One concrete (but trivial) difference is that PyLint wants line length to
max out at 80 columns while PEP 8 says 79.

Since PEP 8 doesn't specify everything, there's going to be some fudging
required.  For things which are unspecified by PEP 8, I think you have to
consider the body of code (the standard library) and the probably audience
(people on this list) to consider how to set things.  PyLint complains about
the use of apply(), but it also calls the use of *args and **kwds "magic".
The first complaint is correct in my opinion since apply() is deprecated,
but the use of *args and **kwds is definitely not magic for this group.


More information about the Python-Dev mailing list