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

Ian Kelly ian.g.kelly at gmail.com
Wed Jan 2 19:25:03 EST 2013


On Wed, Jan 2, 2013 at 4:52 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> If pylint says that global variables should be named like "__variable__",
> that is explicitly going against PEP 8.

It doesn't say that anywhere.  It includes dunder names in the regex
so that you don't get spurious warnings from pylint about the
formatting of names like __all__, nothing more.



More information about the Python-list mailing list