Skip to content

Commit a31e6bc

Browse files
Add documentation for useless-suppression
Closes #4757
1 parent b71be8a commit a31e6bc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/user_guide/message-control.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,11 @@ Here's an example with all these rules in a single place:
178178
# no error
179179
print(self.bla)
180180
print(self.blop)
181+
182+
183+
Detecting useless disables
184+
--------------------------
185+
186+
When pylint get better and false positives are removed,
187+
disable that became useless can accumulate and clutter the code.
188+
In order to clean them you can enable the ``useless-suppression`` warning.

0 commit comments

Comments
 (0)