Commit fa5eaae
style: suppress UP032 in helpers.py with block-level disable
ruff's --add-noqa injected # noqa: UP032 after the backslash line
continuation on two multi-line .format() strings in get_expiration_banner_text(),
corrupting the syntax (a comment cannot follow a line continuation character).
Rather than converting to f-strings, use ruff's block-level suppression
(# ruff: disable[UP032] / # ruff: enable[UP032]) which avoids the syntax
corruption and results in a smaller diff than an f-string rewrite.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b579f11 commit fa5eaae
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
| 437 | + | |
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| |||
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
| 446 | + | |
445 | 447 | | |
446 | | - | |
| 448 | + | |
| 449 | + | |
447 | 450 | | |
448 | 451 | | |
449 | 452 | | |
450 | 453 | | |
| 454 | + | |
451 | 455 | | |
452 | 456 | | |
453 | 457 | | |
| |||
0 commit comments