[Python-projects] pylint: unused local variables and their context

Maarten ter Huurne maarten.ter.huurne at philips.com
Mon Dec 4 19:28:38 CET 2006


syt at logilab.fr wrote on 2006-12-04 07:19:10 PM:

> > > > To return to the original question: once you decide that you're
> > > going to write
> > > > code with PyLint in mind, adopting a naming convention works 
better than
> > > > disabling a separated message. I can imagine though that if 
> you start using
> > > > PyLint on a large existing code base, disabling a separated
> > > message gives you a
> > > > way to reduce false positives a lot instantly, instead of having 
to
> > refactor
> > > > over the course of months.
> > >
> > > I agree, however it's not worth enough for me to implement it...
> > 
> > In the original message, Daniel Drake included a diff ("fromwild.
> patch") which
> > implements a separate warning for wildcard imports, did you see that 
one?
> 
> yes but I thought we were not talking about the same thing here (eg
> unused local variable).

Ah indeed, I am mixing up the threads.

Bye,
                Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20061204/08f04b54/attachment.html 


More information about the Python-Projects mailing list