summaryrefslogtreecommitdiff
path: root/pylint/checkers/classes.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-11-25 11:26:52 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-11-25 11:26:52 +0200
commit31705ac6bc30a70352fa61581f7b0d9007c267d6 (patch)
treee4efd68c53aa8c4070569c236c95c7d0efb2dac8 /pylint/checkers/classes.py
parentf1564436af88f33e2a333926de7d93f8c5890fc7 (diff)
downloadpylint-git-31705ac6bc30a70352fa61581f7b0d9007c267d6.tar.gz
Fix instances of unneeded-not in pylint's codebase.
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r--pylint/checkers/classes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py
index 6763f74f1..e79cf9724 100644
--- a/pylint/checkers/classes.py
+++ b/pylint/checkers/classes.py
@@ -570,7 +570,7 @@ a metaclass class method.'}
return
class_node = node.parent.frame()
if (self._meth_could_be_func and node.type == 'method'
- and not node.name in PYMETHODS
+ and node.name not in PYMETHODS
and not (node.is_abstract() or
overrides_a_method(class_node, node.name) or
decorated_with_property(node) or