[Python-projects] Disabling a message once
pink at odahoda.de
Sun Jun 26 21:35:07 CEST 2005
I think it would be nice, if I could disable a message only once for a
specific occurance - instead of disabling it module-wide. E.g.
# I'll implement error handling later
# If key is not in dict, no action required
I would like to disable the message in the second case, but not in the first
How about something like
# pylint: disable-msg-once=W0704
shortly before the line where the issue is detected.
What are your thoughts about this?
Email: pink at odahoda dot de
More information about the Python-Projects