diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-07-31 11:21:46 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-07-31 11:42:32 +0200 |
commit | a31e6bce1cc97611c4f58407bc613db42eb174c7 (patch) | |
tree | f80b1e9a9aa79ed62e594a267a7eebe641aa5537 /doc | |
parent | b71be8a07ecc7d8aafbc07733e458b338eef6155 (diff) | |
download | pylint-git-a31e6bce1cc97611c4f58407bc613db42eb174c7.tar.gz |
Add documentation for useless-suppression
Closes #4757
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user_guide/message-control.rst | 8 |
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. |