From ad6141c387bc8a820fb65719ad7dbfcc948d303a Mon Sep 17 00:00:00 2001 From: hermclaw <279150486+hermclaw@users.noreply.github.com> Date: Sun, 26 Jul 2026 22:53:22 -0400 Subject: [PATCH] chore: bump ruff version constraint from 0.13 to 0.16 Updates all `ruff>=0.13` references to `ruff>=0.16` across patterns P010, P011, and P012 to reflect the current ruff release line. --- patterns/P010-using-uv-and-pyproject-toml.md | 6 +++--- patterns/P011-using-ruff.md | 6 +++--- patterns/P012-using-ty.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/patterns/P010-using-uv-and-pyproject-toml.md b/patterns/P010-using-uv-and-pyproject-toml.md index a5bcdee..c3be43b 100644 --- a/patterns/P010-using-uv-and-pyproject-toml.md +++ b/patterns/P010-using-uv-and-pyproject-toml.md @@ -104,7 +104,7 @@ Dev-only tools (pytest, ruff, ty) are declared separately from runtime deps. The [dependency-groups] dev = [ "pytest>=8.0.0", - "ruff>=0.13", + "ruff>=0.16", "ty>=0.0.19", ] # install with: uv sync --group dev @@ -114,7 +114,7 @@ dev = [ [project.optional-dependencies] dev = [ "pytest>=8.0.0", - "ruff>=0.13", + "ruff>=0.16", ] # install with: uv sync --extra dev ``` @@ -213,7 +213,7 @@ requires-python = ">=3.13" dependencies = [ ... ] [project.optional-dependencies] -dev = ["pytest>=7", "ruff>=0.13", "ty>=0.0.1"] +dev = ["pytest>=7", "ruff>=0.16", "ty>=0.0.1"] [tool.setuptools.dynamic] version = { attr = "hermes_harness_plugin.__version__" } diff --git a/patterns/P011-using-ruff.md b/patterns/P011-using-ruff.md index df7187c..b567e4c 100644 --- a/patterns/P011-using-ruff.md +++ b/patterns/P011-using-ruff.md @@ -22,7 +22,7 @@ ruff is a Python package, so it goes in the dev dependencies — not in `mise.to ```toml title="pyproject.toml" [project.optional-dependencies] -dev = ["pytest>=7", "ruff>=0.13", "ty>=0.0.1"] +dev = ["pytest>=7", "ruff>=0.16", "ty>=0.0.1"] ``` The exact version is resolved and pinned in the committed `uv.lock` (P010). When the version changes, edit `pyproject.toml` then `uv lock`. @@ -115,7 +115,7 @@ Do not create a separate `ruff.toml`. Keep `target-version` in sync with ```toml title="pyproject.toml" [project.optional-dependencies] -dev = ["pytest>=7", "ruff>=0.13", "ty>=0.0.1"] +dev = ["pytest>=7", "ruff>=0.16", "ty>=0.0.1"] [tool.ruff] line-length = 99 @@ -135,4 +135,4 @@ select = ["E", "F", "I", "UP", "B", "SIM"] - use `ruff` for linting (`uv run ruff check`) ``` -A Hermes Agent plugin. Declares ruff as a dev dep (`ruff>=0.13`, exact pin in `uv.lock`); configures it in `[tool.ruff]` with `line-length = 99` (per-project) and `target-version = "py313"` matching `requires-python = ">=3.13"`; selects a sensible rule set (`E`, `F`, `I`, `UP`, `B`, `SIM`); gates `ruff check .` as its own CI step. The formatter (`ruff format`) is not gated — ruff is used purely as a linter here. +A Hermes Agent plugin. Declares ruff as a dev dep (`ruff>=0.16`, exact pin in `uv.lock`); configures it in `[tool.ruff]` with `line-length = 99` (per-project) and `target-version = "py313"` matching `requires-python = ">=3.13"`; selects a sensible rule set (`E`, `F`, `I`, `UP`, `B`, `SIM`); gates `ruff check .` as its own CI step. The formatter (`ruff format`) is not gated — ruff is used purely as a linter here. diff --git a/patterns/P012-using-ty.md b/patterns/P012-using-ty.md index 09791d2..afe0eeb 100644 --- a/patterns/P012-using-ty.md +++ b/patterns/P012-using-ty.md @@ -22,7 +22,7 @@ ty is a Python package, so it goes in the dev dependencies alongside ruff (P011) ```toml title="pyproject.toml" [project.optional-dependencies] -dev = ["pytest>=7", "ruff>=0.13", "ty>=0.0.1"] +dev = ["pytest>=7", "ruff>=0.16", "ty>=0.0.1"] ``` ty is young (0.0.x). The exact version is resolved and pinned in the committed `uv.lock` (P010). When the version changes, edit `pyproject.toml` then `uv lock`. @@ -98,7 +98,7 @@ not the whole repo. ```toml title="pyproject.toml" [project.optional-dependencies] -dev = ["pytest>=7", "ruff>=0.13", "ty>=0.0.1"] +dev = ["pytest>=7", "ruff>=0.16", "ty>=0.0.1"] ``` ```yaml title=".github/workflows/ci.yml"