pylint #92792 pylint cannot import zope.interface even it is in sys.path [open]
I am trying to run pylint against source code polluted by Zope imports:
************* Module youraddon.interfaces
The code in the question:
from zope.interface import Interface
And zope.interface egg is passed in sys.path for pylint as egg:
cat ../../bin/pylint|grep -i interface
Now the question is
Can I make pylint import zope.interface in a way it understands it? Why it actually fails?
If not, how can I supress import warnings and lint the rest of the file fine?
# E0611: 11,0: No name 'interface' in module 'zope'
|appeared in||<not specified>|
|done in||<not specified>|
|closed by||<not specified>|