From 17507c2f1d24ec50707e5d4da201c3d1884b7df6 Mon Sep 17 00:00:00 2001 From: Rangarajan G Date: Mon, 21 Sep 2026 21:07:17 +0530 Subject: [PATCH] ci: run ruff check with --no-fix so autofixable violations fail pyproject.toml sets `fix = true` under [tool.ruff], so `ruff check .` in CI applied safe autofixes (import sorting, whitespace) to its own checkout and exited 0. The violations were never reported and nothing was committed, so they landed on main unfixed. Pass --no-fix in CI so these are reported and fail the job. `fix = true` stays in pyproject.toml for local development. Refs #168 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec11205c..28b63dfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: uv sync --dev - name: Ruff check - run: uv run ruff check . + run: uv run ruff check --no-fix . - name: Ruff format check run: uv run ruff format --check .