Closed alexfikl closed 3 years ago
According to https://mypy-lang.blogspot.com/2021/05/the-upcoming-switch-to-modular-typeshed.html mypy has unbundled a lot of their type stubs, so those need to be installed separately.
There seems to be a --install-types command https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-install-types that does this automatically, but the docs say it only installs a vetted set of packages. Haven't really tested this either.
--install-types
Interesting. Despite being in the standard library, types-dataclasses seems necessary. Oh well... fine by me.
types-dataclasses
Thanks for proposing this fix!
According to https://mypy-lang.blogspot.com/2021/05/the-upcoming-switch-to-modular-typeshed.html mypy has unbundled a lot of their type stubs, so those need to be installed separately.
There seems to be a
--install-types
command https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-install-types that does this automatically, but the docs say it only installs a vetted set of packages. Haven't really tested this either.