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
I wonder if this could be considered part of #18502. It may also be related to #19402 and #19359. But I am not sure, and none of those mention this rule specifically.
UP043 seems to only trigger in Python 3.13+. However, it seems that (as long as you are using from __future__ import annotations?) the new syntax works in older versions. I tried 3.9, and things work both at run time (at least as long as you do not try to resolve the type?) and when running mypy.