[Python-projects] disable symbols in pylint
Sylvain Thénault
sylvain.thenault at logilab.fr
Thu Feb 12 12:03:26 CET 2009
Le Thursday 12 February 2009 11:06:08 Saegebrecht Martin, vous avez écrit :
> Hello!
Hi,
> lets say you have the following files that you whant to run pylint on:
>
> foo1.py
> foo2.py
> foo3.py
>
> All of these files are importing resources from:
>
> foo4.py
>
> Is it possible to tell pylint to ignore all the errors/warnings related to
> the resources that comes from foo4.py. The thing is that I dont have access
> to foo4.py but from the documentation I can find out what methods, symbols
> etc that belongs to that model. I have tried to recreate the file but
> without success.
>
> Is it possible to add a list to pylint with all the methods and resources
> that I whant to discard?
nop this is not possible right now, unless using pylint:disable-msg=... on the
offending lines in foo[1,2,3].py. This kind of feature has been requested for
a while though, even if no one has found the time to do it yet.
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique: http://www.logilab.fr/science
More information about the Python-Projects
mailing list