]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add some 'meta hooks' to our pre-commit config (#110587)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Tue, 10 Oct 2023 08:21:58 +0000 (10:21 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 08:21:58 +0000 (08:21 +0000)
.pre-commit-config.yaml

index 2eaa047055e5885c0af81dc61c6a9fae8c8de86c..ffca103bb33e8602e7302e664993da52b72561c0 100644 (file)
@@ -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