mypy_extensions.TypedDict
errors because when creating a class, it is inferred as an instance
#1927
Labels
Astroid
Related to astroid
Enhancement ✨
Improvement to a component
Needs astroid Brain 🧠
Needs a brain tip in astroid (then an astroid upgrade)
Steps to reproduce
Dict1 = mypy_extensions.TypedDict('Dict1', {'a' : int})
.class Dict2(Dict1, Total=True): pass
Current behavior
Pylint gives an error for the class creation as inheriting from a non class is invalid.
Expected behavior
No error as this valid.
pylint --version output
Python 3.6.4rc1
The text was updated successfully, but these errors were encountered: