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
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ docs = [
line-length = 127
target-version = "py310"

[tool.ruff.lint]
# select the rule set explicitly so linting stays deterministic across ruff
# releases, for the same reason the mypy block below pins its options one by one.
# ruff 0.16.0 widened its default selection from 59 rules to 413, and the dev
# extra asks for an unpinned "ruff >= 0.15", so CI turns red on code nobody
# touched. these four codes are ruff's pre-0.16 defaults.
select = ["E4", "E7", "E9", "F"]

[tool.mypy]
# pin the target so type-checking is deterministic across contributor machines
# and matches CI: check against the lowest supported version on Linux
Expand Down
Loading