[Python-projects] pylint: Differentiate between unused 'import X' and unused 'from X import *'
Daniel Drake
ddrake at brontes3d.com
Thu Nov 30 17:25:36 CET 2006
Hi,
I'm interested in pylint flagging unused imports in the form:
import X
but, we have several places in the code where we do:
from X import *
which often results in quite a few unused import warnings.
I'd like to be able to distinguish between the two. For now, I'd like to
all ignore all warnings from the 2nd case, but be notified of the first
one.
I'm attaching a patch which creates a new msg for the 2nd case. Please
consider it.
--
Daniel Drake
Brontes Technologies, A 3M Company
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fromwild.patch
Type: text/x-patch
Size: 1617 bytes
Desc: not available
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20061130/e0d53426/attachment.bin
More information about the Python-Projects
mailing list