Files
gauravandClaude Opus 5 f4ad063adb style: Apply ruff rule ISC004
ruff 0.16.0 (released 2026-07-23) stabilized `ISC004`
`implicit-string-concatenation-in-collection-literal` out of preview.
https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md#stabilization
https://docs.astral.sh/ruff/rules/implicit-string-concatenation-in-collection-literal

Since `ruff` is unpinned in `dependency-groups.dev` and `pyproject.toml`
selects the whole `ISC` family, the `Linters` job now fails on `master`
and on every open PR with 7 errors in `tests/test_cli.py` and
`tests/test_config.py`. Master's last green run was 2026-07-20, three
days before the release.

This applies the rule to the 7 affected sites by parenthesizing the
concatenations. Where the extra indentation would have pushed a line
past the 79-column limit, the enclosing `assertEqual(...)` call is
wrapped instead of re-splitting the strings, so **every string literal
is byte-identical to `master`** — verified by comparing all
`ast.Constant` string nodes before and after (435/435 in `test_cli.py`,
539/539 in `test_config.py`).

Verified locally with ruff 0.16.0: `ruff check`, `flake8`, `doc8`,
`rstcheck`, `yamllint --strict` and `make -C docs html` all clean, and
`python -X warn_default_encoding -W error::EncodingWarning -m unittest
discover` passes 432 tests.

Separately, you may want to consider upper-bounding `ruff` in
`dependency-groups.dev` so that a ruff release can't turn unrelated PRs
red — but that's a policy call, and the `style: Apply ruff rule X`
history suggests you may prefer riding latest.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 11:40:38 +02:00
..
2026-07-20 07:46:25 +02:00
2025-12-03 08:38:01 +01:00
2026-08-19 11:40:38 +02:00
2026-08-19 11:40:38 +02:00