mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
[3.13] Move NEWS entries out of directories with spaces (GH-145357)
Re-do on updated branch
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user