[Python-projects] disable symbols in pylint
Sylvain Thénault
sylvain.thenault at logilab.fr
Thu Feb 12 12:52:14 CET 2009
Le Thursday 12 February 2009 12:33:01 Saegebrecht Martin, vous avez écrit :
> How do you mean?
>
> Can you disable messages in specific lines in the code???
yep:
def blabla():
# pylint:disable-msg=X1234
# within all this function bloc, X1234 will be disabled
...
# disable X1234 for the following line only
foo.bla # pylint:disable-msg=X1234
you get the idea ?
--
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