mirror of
https://github.com/python/cpython.git
synced 2026-04-14 07:41:00 +00:00
[3.13] Move NEWS entries out of directories with spaces (GH-145357)
Re-do on updated branch
This commit is contained in:
parent
1a2b0fb3e5
commit
7f9c3695df
8 changed files with 16 additions and 0 deletions
|
|
@ -49,6 +49,22 @@ repos:
|
|||
types: [python]
|
||||
exclude: ^Tools/c-analyzer/cpython/_parser.py
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: blurb-no-space-c-api
|
||||
name: Check C API news entries
|
||||
language: fail
|
||||
entry: Space found in path, move to Misc/NEWS.d/next/C_API/
|
||||
files: Misc/NEWS.d/next/C API/20.*.rst
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: blurb-no-space-core-and-builtins
|
||||
name: Check Core and Builtins news entries
|
||||
language: fail
|
||||
entry: Space found in path, move to Misc/NEWS.d/next/Core_and_Builtins/
|
||||
files: Misc/NEWS.d/next/Core and Builtins/20.*.rst
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue