Skip to content

ci: enable Ruff rules for complexity, simplification and bug patterns - #208

Merged
lens0021 merged 1 commit into
mainfrom
claude/project-thread-t4k24p
Oct 1, 2026
Merged

lens0021 merged 1 commit into
mainfrom
claude/project-thread-t4k24p

Conversation

@lens0021

@lens0021 lens0021 commented Oct 1, 2026

Copy link
Copy Markdown
Member

Requested by lens0021 · project thread

Before: ruff check runs with only Ruff's defaults (E4, E7, E9, F).

After: it also flags overly complex or long functions (C901, PLR0912, PLR0913, PLR0915), simplifiable code (SIM, RET, PERF, PIE, FURB), blind or awkward exception handling (BLE, TRY), likely bugs (B), outdated syntax (UP) and import order (I).

How: one [tool.ruff.lint] extend-select in pyproject.toml. The current code already passes, so no source changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DctatTFpBeUnxrrHkmrpzh


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DctatTFpBeUnxrrHkmrpzh
@lens0021 lens0021 self-assigned this Oct 1, 2026
@lens0021
lens0021 marked this pull request as ready for review October 1, 2026 16:12
@lens0021
lens0021 merged commit 901094b into main Oct 1, 2026
6 checks passed
@lens0021
lens0021 deleted the claude/project-thread-t4k24p branch October 1, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants