PY3.I0020
Suppressed Message
A message was triggered on a line, but suppressed explicitly by a disable= comment in the file. This message is not generated for messages that are ignored due to configuration settings. suppressed-message is simply a way to see messages that would be raised without the disable in your codebase. It should not be activated most of the time. See also useless-suppression if you want to see the message that are disabled for no reasons.
Noncompliant Code:
Copy
### This is a contrived example, to show how suppressed-message works.
### First we enable all messages
# pylint: enable=all
### Here we disable two messages so we get two warnings
# pylint: disable=locally-disabled, useless-suppression # [suppressed-message, suppressed-message]
### Here we disable a message, so we get a warning for suppressed-message again.
"A" # pylint: disable=pointless-statement # [suppressed-message, suppressed-message]
Compliant Code:
Copy
"""Instead of a single string somewhere in the file, write a module docstring!"""