pylint, was Re: pygame - importing GL - very bad...

Ian Kelly ian.g.kelly at gmail.com
Wed Jan 2 18:52:11 CET 2013


On Wed, Jan 2, 2013 at 7:32 AM, Chris Angelico <rosuav at gmail.com> wrote:
> Okay, I have to ask... why? Does it have an exception for names of classes?

Yes, and for module-level functions.

> I don't like linters that enforce too much style. Catch things that
> might be mis-coded (like C's classic "if (x = 1)"), but don't complain
> about my names. They're MY business.

pylint is configurable though, so you can disable any warnings you
don't care about.  My pylint macro has a fairly large number of -d
options in it.



More information about the Python-list mailing list