Adopt shared ruff rule set (B, N, UP, SIM, C4) #3

Merged
tim merged 1 commit from chore/ruff-rule-set into main 2026-10-12 13:17:01 +00:00
Owner

Rule set from workflow-basics templates/ruff.toml. 8 findings: 1 autofix, 2 simplified boolean returns, 2 test class names to CapWords, and per-file ignores for the public exception names (AlthermaException, PathException) and contentCount (renaming would break consumers).

Verified on python 3.14: ruff check, ruff format, bandit, 41 tests pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98

Rule set from workflow-basics `templates/ruff.toml`. 8 findings: 1 autofix, 2 simplified boolean returns, 2 test class names to CapWords, and per-file ignores for the public exception names (`AlthermaException`, `PathException`) and `contentCount` (renaming would break consumers). Verified on python 3.14: ruff check, ruff format, bandit, 41 tests pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
Adopt shared ruff rule set (B, N, UP, SIM, C4)
All checks were successful
Security / Security scan (pull_request) Successful in 32s
Test / Lint and test (pull_request) Successful in 16s
b84f06c1c5
Simplify boolean returns, CapWords test classes, per-file ignores for the
public exception and property names (renaming would break consumers).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
tim merged commit b9458c6b71 into main 2026-10-12 13:17:01 +00:00
tim deleted branch chore/ruff-rule-set 2026-10-12 13:17:01 +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/pyaltherma!3
No description provided.