mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[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:
parent
c8bffd1667
commit
e73210c023
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue