diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-05-05 11:38:28 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-05-05 11:38:28 +0300 |
commit | ea168a926e88406d07dbc8e6a388faab5903051c (patch) | |
tree | 689042230a0a256c4b93321c8e4968874607ce47 /pylint/checkers/variables.py | |
parent | 70f88456402d7c9bd7a7125980a435a27e41da7d (diff) | |
download | pylint-ea168a926e88406d07dbc8e6a388faab5903051c.tar.gz |
Remove interface-not-implemented warning. Closes issue #532.
Diffstat (limited to 'pylint/checkers/variables.py')
-rw-r--r-- | pylint/checkers/variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index 8e3789a..45fd76d 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -543,7 +543,7 @@ builtins. Remember that you should avoid to define new builtins when possible.' # don't check arguments of abstract methods or within an interface is_method = node.is_method() klass = node.parent.frame() - if is_method and (klass.type == 'interface' or node.is_abstract()): + if is_method and node.is_abstract(): return if is_method and isinstance(klass, astroid.Class): confidence = INFERENCE if has_known_bases(klass) else INFERENCE_FAILURE |