python-test: ruff 0.17.5, format the PATTERNS.md example #17

Merged
tim merged 1 commit from chore/ruff-0.17.5 into develop 2026-11-20 11:27:11 +00:00
Owner

What

  • python-test default ruff-version 0.17.3 -> 0.17.5.
  • PATTERNS.md: the Python example was not ruff-formatted, so ruff format --check . failed on this repo (ruff 0.17 formats Markdown code blocks). Formatting only: ast.dump of the block is identical before and after, prose outside the block is unchanged.

Why this order

Consumers follow @main, so this is live for them only after the release PR develop -> main. Before moving the default I ran ruff check and ruff format --check with exactly 0.17.5 on every consumer (pyaltherma, py-nissan-leaf-obd-ble, daikin-altherma, smart-forecast-solar, hass-nissan-leaf-obd-ble, omnimem): all clean. Their pre-commit revs follow in their own PRs, so CI and pre-commit stay equal.

Checks

ruff 0.17.5 check and format --check clean on this repo.

🤖 Generated with Claude Code

## What - `python-test` default `ruff-version` 0.17.3 -> 0.17.5. - `PATTERNS.md`: the Python example was not ruff-formatted, so `ruff format --check .` failed on this repo (ruff 0.17 formats Markdown code blocks). Formatting only: `ast.dump` of the block is identical before and after, prose outside the block is unchanged. ## Why this order Consumers follow `@main`, so this is live for them only after the release PR develop -> main. Before moving the default I ran `ruff check` and `ruff format --check` with exactly 0.17.5 on every consumer (pyaltherma, py-nissan-leaf-obd-ble, daikin-altherma, smart-forecast-solar, hass-nissan-leaf-obd-ble, omnimem): all clean. Their pre-commit revs follow in their own PRs, so CI and pre-commit stay equal. ## Checks ruff 0.17.5 check and format --check clean on this repo. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
python-test: ruff 0.17.5, format the PATTERNS.md example
All checks were successful
test auto-tag / test (pull_request) Successful in 2s
test docker-publish / test (pull_request) Successful in 11s
test forgejo-release / test (pull_request) Successful in 2s
test hassfest / test (pull_request) Successful in 15s
test node-test / test (pull_request) Successful in 8s
test python-test / test (pull_request) Successful in 15s
test security-scan / test (pull_request) Successful in 27s
b374d14179
The shared ruff default moves from 0.17.3 to 0.17.5, in step with the
pre-commit revs of the consuming repositories. ruff 0.17 formats Python code
blocks in Markdown and the PATTERNS.md example was not formatted, so
ruff format --check failed on this repository. The change to the code block is
formatting only (ast.dump of the block is identical, prose untouched).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tim merged commit 8325103f4a into develop 2026-11-20 11:27:11 +00:00
tim deleted branch chore/ruff-0.17.5 2026-11-20 11:27:11 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/workflow-basics!17
No description provided.