From c7ea1cc968d554d012596fa1335ed830d43be25c Mon Sep 17 00:00:00 2001 From: Scott Converse <1474146+scottconverse@users.noreply.github.com> Date: Wed, 21 Oct 2026 08:47:17 -0600 Subject: [PATCH] ci: pin ruff to 0.15.22 ruff 0.16.0 (2026-07-23) expanded its default rule set from 59 to 413 rules. This repo installed "ruff>=0.11.0", so CI picked up the new defaults and failed on import sorting while every test passed. Pin to 0.15.22, the version townlight/core already uses; main passes ruff 0.15.22 with no code changes. Signed-off-by: Scott Converse Signed-off-by: Claude Opus 5.5 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8d76299..a03f46e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dev = [ "httpx>=0.27.0,<1.0.0", "psycopg2-binary>=2.9.0,<3.0.0", "pytest>=8.0.0,<9.0.0", - "ruff>=0.11.0", + "ruff==0.15.22", ] [tool.pytest.ini_options]