summaryrefslogtreecommitdiff
path: root/pylint/checkers/typecheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/checkers/typecheck.py')
-rw-r--r--pylint/checkers/typecheck.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index 7ec0b55..46535d2 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -866,6 +866,9 @@ accessed. Python regular expressions are accepted.'}
node=node.value)
return
+ if is_inside_abstract_class(node):
+ return
+
inferred = safe_infer(node.value)
if inferred is None or inferred is astroid.YES:
return