Avoid syntax error when removing int over multiple lines (#15230)

## Summary

Closes https://github.com/astral-sh/ruff/issues/15226.
This commit is contained in:
Charlie Marsh 2025-01-02 17:43:15 -05:00 committed by GitHub
parent 2327082c43
commit 3c3f35a548
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 105 additions and 20 deletions

View file

@ -154,3 +154,9 @@ int(1 / 1)
int(1 @ 1)
int(1. if ... else .2)
int(1 +
1)
int(round(1,
0))