From 0e1beac13869410db218abcbe7dbdfbccafa6a14 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 28 Feb 2021 13:01:33 +0100 Subject: [PATCH] Remove TypedDict hotfix --- pylint/checkers/classes.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py index 1458905661..d475cfcfbb 100644 --- a/pylint/checkers/classes.py +++ b/pylint/checkers/classes.py @@ -832,11 +832,6 @@ def _check_proper_bases(self, node): 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