From a9cdf1275f68b0bec93745afad36ef36743d7bfb Mon Sep 17 00:00:00 2001 From: Gideon Date: Thu, 15 Jan 2026 17:29:24 +0100 Subject: [PATCH 1/2] chore(pre-commit): replace legacy `ruff` hook with `ruff-check` https://github.com/astral-sh/ruff-pre-commit/blob/2ea9a19816b63f88b04345a4763c9ed8d182ac0d/.pre-commit-hooks.yaml#L23-L24 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 065a6585..fdb849b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.14.10 hooks: - - id: ruff + - id: ruff-check - id: ruff-format - repo: https://github.com/adamchainz/blacken-docs rev: 1.20.0 From cae778e2221be549d48c4f52085b3b24f573b0eb Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Thu, 15 Jan 2026 16:32:29 +0000 Subject: [PATCH 2/2] been meaning to do this too --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fdb849b5..3167e918 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -66,6 +66,7 @@ repos: rev: v1.7.10 hooks: - id: actionlint + language: golang # means renovate will also update `additional_dependencies` additional_dependencies: # actionlint has a shellcheck integration which extracts shell scripts in `run:` steps from GitHub Actions # and checks these with shellcheck. This is arguably its most useful feature,