Skip to content

Commit 9089df0

Browse files
committed
py(deps[dev]) Require ruff>=0.16.1
why: A bug-fix release: no newly stabilized rules and no change to the default rule set, so it surfaces no new diagnostics here. Verified by running ruff against this repo at both versions; the finding set is identical. What it does change is three rules that were over-firing. B008 now treats `range` as immutable, RET504 stops firing when the variable is read in a `finally` clause, and D214, D405 and D413 skip section detection inside RST directive bodies. The floor earns its keep on fix safety rather than findings: 0.16.1 reclassifies PT022 and FURB105 fixes as unsafe, so a contributor still resolving 0.16.0 would have `ruff check --fix` apply edits this version now declines to make. 0.16.2 exists but is younger than the 3-day supply-chain cooldown and is deliberately not taken. what: - ruff>=0.16.0 -> ruff>=0.16.1 in both pin sites (dev and lint groups) - uv.lock: ruff 0.16.0 -> 0.16.1 See also: https://github.com/astral-sh/ruff/releases/tag/0.16.1
1 parent 2b5ce6c commit 9089df0

2 files changed

Lines changed: 25 additions & 25 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ dev = [
8181
"coverage",
8282
"pytest-cov",
8383
# Lint
84-
"ruff>=0.16.0",
84+
"ruff>=0.16.1",
8585
"mypy",
8686
]
8787

@@ -106,7 +106,7 @@ coverage =[
106106
"pytest-cov",
107107
]
108108
lint = [
109-
"ruff>=0.16.0",
109+
"ruff>=0.16.1",
110110
"mypy",
111111
]
112112

uv.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)