Skip to content
Merged
Show file tree
Hide file tree
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 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Pin `ruff` to `>=0.16,<0.17` and state the lint rules explicitly with
`[tool.ruff.lint] select`. Ruff's *default* rule set widened in 0.16, which
turned CI red on unchanged code; the selection is now a project decision
rather than whatever the installed ruff defaults to. Development-only, no
effect on the package.

## [0.3.0] - 2026-05-19

### Added
Expand Down
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Issues = "https://github.com/jbloomlab/tree-annotated-plot/issues"
[project.optional-dependencies]
dev = [
"pytest>=8",
"ruff>=0.6",
"ruff>=0.16,<0.17",
"black>=24",
]
docs = [
Expand All @@ -58,3 +58,10 @@ target-version = ["py311"]

[tool.ruff]
target-version = "py311"

[tool.ruff.lint]
# Ruff's default rule set is not stable across releases -- 0.16 broadened it,
# which turned CI red on unchanged code. State the rules we lint against so a
# ruff upgrade changes them only when we say so. These are ruff's pre-0.16
# defaults, which is what this project has been checked against all along.
select = ["E4", "E7", "E9", "F"]