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
## Summary
Given `type RecordOrThings = Record | int | str`, the right-hand side
won't be evaluated at runtime. Same goes for `Record` in `type
RecordCallback[R: Record] = Callable[[R], None]`. This PR modifies the
visitation logic to treat them as typing-only.
Closes#7966.
Running the following command with Ruff
0.0.292
:Given the following code:
TCH004
is reported on line 7, but all uses ofRecord
are only for annotations.The text was updated successfully, but these errors were encountered: