[3.13] Move NEWS entries out of directories with spaces (GH-145357)

Re-do on updated branch
This commit is contained in:
Stan Ulbrych 2026-02-28 18:48:12 +00:00 committed by GitHub
parent 1a2b0fb3e5
commit 7f9c3695df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 16 additions and 0 deletions

View file

@ -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: