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
Expected Behavior
I was expecting v = cast(FooType, foo) to work about the same as v: FooType = foo # type: ignore[assignment] with warn redundant ignores
Your Environment
See mypy-play
The text was updated successfully, but these errors were encountered:
To Reproduce
https://mypy-play.net/?mypy=latest&python=3.10&flags=strict%2Cwarn-redundant-casts&gist=bc9999020b0fb32610c0c3ec99a8568c
Expected Behavior
I was expecting
v = cast(FooType, foo)
to work about the same asv: FooType = foo # type: ignore[assignment]
with warn redundant ignoresYour Environment
See mypy-play
The text was updated successfully, but these errors were encountered: