diff options
author | Laura M?dioni <laura.medioni@logilab.fr> | 2015-11-24 11:46:44 +0100 |
---|---|---|
committer | Laura M?dioni <laura.medioni@logilab.fr> | 2015-11-24 11:46:44 +0100 |
commit | 886c03cf2ac8758519dfd50c12b486d76d231d0d (patch) | |
tree | f191cb95f308c84280eeeae18d7f0c8e9789eea3 /pylint/checkers/base.py | |
parent | cb68a81eee457947b9750013c90bcfeb4eb22bcf (diff) | |
download | pylint-886c03cf2ac8758519dfd50c12b486d76d231d0d.tar.gz |
Add is to the checked operators
Diffstat (limited to 'pylint/checkers/base.py')
-rw-r--r-- | pylint/checkers/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py index aba648c..bccc967 100644 --- a/pylint/checkers/base.py +++ b/pylint/checkers/base.py @@ -1856,7 +1856,7 @@ class NotChecker(_BasicChecker): } reverse_op = {'<': '>=', '<=': '>', '>': '<=', '>=': '<', '==': '!=', - '!=': '==', 'in': 'not in'} + '!=': '==', 'in': 'not in', 'is': 'is not'} @check_messages('unneeded-not') def visit_unaryop(self, node): |