Commit f198449
Restore consistent parenthesized-with form
The Copilot autofix in c635619 reverted one of four parenthesized-with
blocks back to the chained form, leaving the file inconsistent under
the project's ruff target (py39 prefers the parenthesized form per the
3.9 PEG parser). Re-running ruff format restores all four blocks to
the canonical form so ruff format --check passes again.
The "parenthesized with is 3.10+ only" concern is technically
incorrect on this codebase: the 3.9 PEG parser accepts it, and the
last CI run on 3a6cad9 / 2f7cf10 passed test (ubuntu-latest, 3.9) and
test (windows-latest, 3.9) with this syntax in place.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dd03edf commit f198449
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
457 | 460 | | |
458 | 461 | | |
459 | 462 | | |
| |||
0 commit comments