diff options
Diffstat (limited to 'pylint/checkers/base.py')
-rw-r--r-- | pylint/checkers/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py index e8a43969c..75a4d7f89 100644 --- a/pylint/checkers/base.py +++ b/pylint/checkers/base.py @@ -1844,12 +1844,12 @@ class ElifChecker(BaseTokenChecker): self.config.max_nested_blocks)) class NotChecker(_BasicChecker): - """checks for nots too many in comparison expressions + """checks for too many not in comparison expressions - "not not" should trigger a warning - "not" followed by a comparison should trigger a warning """ - msgs = {'W0126': ('One not too many in "%s", should be "%s"', + msgs = {'C0113': ('Consider changing "%s" to "%s"', 'unneeded-not', 'Used when a boolean expression contains an unneeded ' 'negation.'), |