On Monday 19 July 2010 23:20:58 Derek Harland wrote: > dummy-variables-rgx=(_||i$|j$|k$) > => allows usual idiom of _name, or just strictly "i", "j", "k" as > single letter indices > > * My understanding of dummy-variables, is that they're just variable > names pylint shouldn't complain about if you *don't* use ... as in ... > they're variable names that are fine to be either used, or not used ... > To me i,j,k fall into that category ... they'll often be used, just > don't complain if they're not.
imho, we should actually talk about dummy variables when we are *sure* they are not used; and hence we ask Pylint not to check them. And when they are not dummy, we want Pylint to check that they are actually used. "Explicit is better than implicit" -- Emile Anclin <[email protected]> http://www.logilab.fr/ http://www.logilab.org/ Informatique scientifique & et gestion de connaissances _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
