Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ line-length = 88 # Adjust line length as needed
target-version = ['py39']

[tool.ruff.lint]
# Enforce the intended policy explicitly: pyflakes (F) + core pycodestyle
# (E4 import, E7 statement, E9 syntax). Pinning `select` keeps enforcement
# stable across ruff default changes — without it, newer ruff enabled ~10 extra
# rule families (pyupgrade, import-sort, etc.), 400+ purely-stylistic findings
# that were never the intent and failed CI on every PR.
select = ["E4", "E7", "E9", "F"]
# The codebase uses one-line guard/assignment statements pervasively
# (`if cond: continue`, `a = x; b = y`). Those stylistic rules (E701/E702) are
# ignored to match existing style; real issues (F, other E) stay enforced.
Expand Down
Loading