[Python-projects] Is there a way to ask pylint to ignore a line?
Emin.shopper Martinian.shopper
emin.shopper at gmail.com
Fri Jan 18 17:32:40 CET 2008
Dear Experts,
Is there a way to tell pylint to ignore a given line?
For example, I'd like to do something like the following and have pylint not
complain about any errors on the line marked #OK (or better yet be able to
turn of specific errors/warnings for that line or perhaps at a function
level.
class foo:
def _protected(self):
pass
def friend(f):
return f._protected # OK
If there isn't a way to do this, could someone point me at the appropriate
parts of the source where I might be able to insert such a hack?
Thanks,
-Emin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20080118/16ee0423/attachment.htm
More information about the Python-Projects
mailing list