You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using TypedDict in stub files with new analyzer produces error #7028
Running mypy --new-semantic-analyzer test.pyi produces the following output:
test.pyi: error: Class test.StuffDict has abstract attributes "__getitem__", "__iter__", "__len__"
test.pyi: note: If it is meant to be abstract, add 'abc.ABCMeta' as an explicit metaclass
Activity
ilevkivskyi commentedon Jun 20, 2019
Thanks for reporting! This looks like something important to investigate.
New semantic analyzer: fix false positives from TypedDict in stub
New semantic analyzer: fix false positives from TypedDict in stub (#7063