
Untitled
By: a guest on
Jul 29th, 2012 | syntax:
None | size: 0.63 KB | hits: 13 | expires: Never
pylinting zopeish files: F0401: 11,0: Unable to import 'zope.interface'
************* Module youraddon.interfaces
F0401: 11,0: Unable to import 'zope.interface'
from zope.interface import Interface
cat ../../bin/pylint|grep -i interface
'/fast/buildout-cache/eggs/zope.interface-3.6.7-py2.6-macosx-10.6-i386.egg',
# E0611: 11,0: No name 'interface' in module 'zope'
$ pylint --disable=F0401 youraddon.py
#pylint: disable=F0401
[buildout]
parts =
instance
pylint
[instance]
...
eggs =
your.addon
...
[pylint]
recipe = zc.recipe.egg
entry-points = pylint=pylint.lint:Run
eggs =
pylint
${instance:eggs}