summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-02-28 13:01:33 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-28 22:09:59 +0100
commit0e1beac13869410db218abcbe7dbdfbccafa6a14 (patch)
tree2d18165f612666fb9fb25577a9931cd8b742013a
parent5ba60b8464cb4d7d79363cc3d185fa365dfb6c13 (diff)
downloadpylint-git-0e1beac13869410db218abcbe7dbdfbccafa6a14.tar.gz
Remove TypedDict hotfix
-rw-r--r--pylint/checkers/classes.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py
index 145890566..d475cfcfb 100644
--- a/pylint/checkers/classes.py
+++ b/pylint/checkers/classes.py
@@ -832,11 +832,6 @@ a metaclass class method.",
f"{BUILTINS}.type"
):
continue
- if (
- isinstance(ancestor, astroid.FunctionDef)
- and ancestor.name == "TypedDict"
- ):
- continue
if not isinstance(ancestor, astroid.ClassDef) or _is_invalid_base_class(
ancestor