This occurs due to a bug in `mypy` itself: https://github.com/python/mypy/issues/10709 See this issue for a solution using mypy settings: https://github.com/python/mypy/issues/10709 Alternate workaround: Set `"mypy-type-checker.path": ["<path to mypy executable>"]`
This occurs due to a bug in
mypyitself: python/mypy#10709See this issue for a solution using mypy settings: python/mypy#10709
Alternate workaround: Set
"mypy-type-checker.path": ["<path to mypy executable>"]