]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Add some 'meta hooks' to our pre-commit config (GH-110587) (#110600)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Oct 2023 08:24:17 +0000 (10:24 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 08:24:17 +0000 (08:24 +0000)
Add some 'meta hooks' to our pre-commit config (GH-110587)
(cherry picked from commit d5ec77fafd352b4eb290b86d70e4d0b4673459eb)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
.pre-commit-config.yaml

index 3cff5658ba4e8164c72a2a1b6940ea112fdc0994..4c42dbb3c9750b0d24d492e308dfce52042c1cc5 100644 (file)
@@ -23,3 +23,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