From 7ceea240865c55c0a9ac51d4d845eda6b7582759 Mon Sep 17 00:00:00 2001 From: pat-s Date: Fri, 27 Nov 2026 11:12:38 +0100 Subject: [PATCH] chore(pre-commit): use prek builtin hooks Replace the pre-commit/pre-commit-hooks repo with prek's native `builtin` repo. prek implements these hooks in Rust, so this drops the remote clone and the Renovate updates for an upstream that no longer releases. --- .pre-commit-config.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7fd60c6..960f7aa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,8 +14,7 @@ exclude: | # here. The exclusions are per-hook, not global, so `validate patch registry` # still runs when a patch changes. repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v6.0.0 + - repo: builtin hooks: - id: end-of-file-fixer exclude: ^local/patches/.*\.patch$