From d5ec77fafd352b4eb290b86d70e4d0b4673459eb Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 10 Oct 2023 10:21:58 +0200 Subject: [PATCH] Add some 'meta hooks' to our pre-commit config (#110587) --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2eaa047055e..ffca103bb33 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,3 +30,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