Skip to content

Commit

Permalink
Remove TypedDict hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored and Pierre-Sassoulas committed Feb 28, 2021
1 parent 5ba60b8 commit 0e1beac
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pylint/checkers/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e1beac

Please sign in to comment.