summaryrefslogtreecommitdiff
path: root/pylint/checkers
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-04-08 13:21:19 +0200
committerGitHub <noreply@github.com>2021-04-08 13:21:19 +0200
commit5e1928b325bc798f5be1ab94031bf6816d058d9f (patch)
tree746f36b98715a0910235eb7ad8347cbe77d28517 /pylint/checkers
parent5540bd45fcfd3db7ddb9a1b952bd5d327f49c84b (diff)
downloadpylint-git-5e1928b325bc798f5be1ab94031bf6816d058d9f.tar.gz
Don't show DuplicateBasesError for attribute access (#4317)
Diffstat (limited to 'pylint/checkers')
-rw-r--r--pylint/checkers/typecheck.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index 2da7c6151..e08cf15b7 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -985,6 +985,8 @@ accessed. Python regular expressions are accepted.",
continue
except AttributeError:
continue
+ except astroid.DuplicateBasesError:
+ continue
except astroid.NotFoundError:
# This can't be moved before the actual .getattr call,
# because there can be more values inferred and we are