Commit d6df90d
[FIX] Reformat assert statements to satisfy both black and ruff-format
Two assert statements in tests/test_pre_commit_vauxoo.py were formatted
in a style that caused ruff-format to want to reformat them, breaking the
docker CI jobs with LINT_COMPATIBILITY_VERSION=0.0.0.0.0.0.0.0 and
30.30.30.30.30.30.30.30 (both enable ruff-format via ruff_matrix_value>=30).
Rewrote both asserts to a form that is idempotent under both black and
ruff-format: the first merges the split string literal and expands the
%-tuple; the second replaces the f-string with a %-format wrapped in
parens so neither tool wants to touch it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 99d156f commit d6df90d
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
406 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
407 | 408 | | |
408 | 409 | | |
409 | 410 | | |
| |||
436 | 437 | | |
437 | 438 | | |
438 | 439 | | |
439 | | - | |
440 | | - | |
441 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
442 | 444 | | |
443 | 445 | | |
444 | 446 | | |
| |||
0 commit comments