mirror of https://github.com/astral-sh/ruff
## Summary `StmtAnnAssign` would not insert parentheses when breaking the same way `StmtAssign` does, causing unstable formatting and likely some syntax errors. ## Test Plan I added a regression test. |
||
|---|---|---|
| .. | ||
| snapshots | ||
| fixtures.rs | ||