Skip to content

Commit 0e1beac

Browse files
cdce8pPierre-Sassoulas
authored andcommitted
Remove TypedDict hotfix
1 parent 5ba60b8 commit 0e1beac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pylint/checkers/classes.py

-5
Original file line numberDiff line numberDiff line change
@@ -832,11 +832,6 @@ def _check_proper_bases(self, node):
832832
f"{BUILTINS}.type"
833833
):
834834
continue
835-
if (
836-
isinstance(ancestor, astroid.FunctionDef)
837-
and ancestor.name == "TypedDict"
838-
):
839-
continue
840835

841836
if not isinstance(ancestor, astroid.ClassDef) or _is_invalid_base_class(
842837
ancestor

0 commit comments

Comments
 (0)