summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/user_guide/message-control.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/user_guide/message-control.rst b/doc/user_guide/message-control.rst
index 18c9b18a8..217b1b556 100644
--- a/doc/user_guide/message-control.rst
+++ b/doc/user_guide/message-control.rst
@@ -178,3 +178,11 @@ Here's an example with all these rules in a single place:
# no error
print(self.bla)
print(self.blop)
+
+
+Detecting useless disables
+--------------------------
+
+When pylint get better and false positives are removed,
+disable that became useless can accumulate and clutter the code.
+In order to clean them you can enable the ``useless-suppression`` warning.