Shared ruff rule set: add B, N, UP, SIM, C4 #7

Merged
tim merged 1 commit from feat/ruff-rule-set into main 2026-10-12 13:05:38 +00:00
Owner

Adds templates/ruff.toml (E4, E7, E9, F plus B, N, UP, SIM, C4) and documents it in PATTERNS.md under "Lint and format": fix findings instead of suppressing, per-file-ignores only for externally dictated names, docstring and annotation rules left out on purpose.

Docs and template only, no action changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98

Adds `templates/ruff.toml` (E4, E7, E9, F plus B, N, UP, SIM, C4) and documents it in PATTERNS.md under "Lint and format": fix findings instead of suppressing, per-file-ignores only for externally dictated names, docstring and annotation rules left out on purpose. Docs and template only, no action changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
Add shared ruff rule set: bugbear, naming, pyupgrade, simplify, comprehensions
All checks were successful
test auto-tag / test (pull_request) Successful in 3s
test docker-publish / test (pull_request) Successful in 4s
test hassfest / test (pull_request) Successful in 19s
test python-test / test (pull_request) Successful in 14s
test security-scan / test (pull_request) Successful in 28s
aa4e591283
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
tim merged commit 7e2bd69c2b into main 2026-10-12 13:05:38 +00:00
tim deleted branch feat/ruff-rule-set 2026-10-12 13:05:38 +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!7
No description provided.