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
Since python/mypy#9783 is fixed, we can finally uncomment the refine checks that were not working previously.
Also, this PR fixes all remaining issues for the latest versions of both mypy and pyright.
Bug Report
Refining
x: Dict[Any, Any]
works viaisinstance(x, dict)
, but doesn't forx: Dict[str, str]
To Reproduce
Expected Behavior
Dict[str, str]
would be refined such thatmypy
gives astatement is unreachable
errorActual Behavior
Dict[str, str]
doesn't get refinedYour Environment
--warn-unreachable
mypy.ini
(and other config files): N/A3.9
The text was updated successfully, but these errors were encountered: