[3.12] Add some 'meta hooks' to our pre-commit config (GH-110587) (#110599)

Add some 'meta hooks' to our pre-commit config (GH-110587)
(cherry picked from commit d5ec77fafd)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-10-10 10:24:10 +02:00 committed by GitHub
parent c8bffd1667
commit e73210c023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,3 +26,8 @@ repos:
args: [--enable=default-role] args: [--enable=default-role]
files: ^Doc/|^Misc/NEWS.d/next/ files: ^Doc/|^Misc/NEWS.d/next/
types: [rst] types: [rst]
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes