From 4eaa65f9be9cfa53bc1ac271e3e489889961a3e4 Mon Sep 17 00:00:00 2001 From: AlexWaygood Date: Tue, 10 Oct 2023 09:32:03 +0200 Subject: [PATCH] Add some 'meta hooks' to our pre-commit config --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5d32a04fc2d7d..3e17bb6f0256a6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,3 +26,8 @@ repos: args: [--enable=default-role] files: ^Doc/|^Misc/NEWS.d/next/ types: [rst] + + - repo: meta + hooks: + - id: check-hooks-apply + - id: check-useless-excludes