]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Add some 'meta hooks' to our pre-commit config (GH-110587) (#110599)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Oct 2023 08:24:10 +0000 (10:24 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 08:24:10 +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 a5d32a04fc2d7d6f508149317e725e3c6633e72a..3e17bb6f0256a6641960e7095dbf599519d5ae98 100644 (file)
@@ -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