From bd672b9455fdf5bc66092bea763b40c0cb4d299b Mon Sep 17 00:00:00 2001 From: Chris Arter Date: Mon, 1 Jun 2026 12:27:05 -0400 Subject: [PATCH] Align pre-commit ruff/shellcheck hooks with the versions CI runs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pre-commit hooks were SHA-frozen at ruff v0.8.0 and shellcheck-py v0.10.0.1, while CI (via uv.lock) runs ruff 0.15.12 and shellcheck-py 0.11.0.1 — so local `pre-commit` linted/formatted with a very different ruff than CI enforced. Dependabot's PRs #11/#12, which would have closed this gap, were auto-closed as "no longer updatable" because they were tag-based bumps that don't apply to the SHA-pinned config. Re-freeze both hooks to the commit SHAs for the versions CI already uses. Verified: `pre-commit run {ruff,ruff-format,shellcheck} --all-files` all pass at the new pins with no file changes (CI already runs these versions green against this codebase). Co-Authored-By: Claude Opus 4.8 (1M context) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f4111ae..5c617eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,13 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 0710b94280408eef12748cde4782972942370ad2 # frozen v0.8.0 + rev: 6fec9b7edb08fd9989088709d864a7826dc74e80 # frozen v0.15.12 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/shellcheck-py/shellcheck-py - rev: a23f6b85d0fdd5bb9d564e2579e678033debbdff # frozen v0.10.0.1 + rev: 745eface02aef23e168a8afb6b5737818efbea95 # frozen v0.11.0.1 hooks: - id: shellcheck