Add some 'meta hooks' to our pre-commit config (#110587)

This commit is contained in:
Alex Waygood 2023-10-10 10:21:58 +02:00 committed by GitHub
parent 7426ed0347
commit d5ec77fafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -30,3 +30,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