Skip to content

Commit 7f9c369

Browse files
[3.13] Move NEWS entries out of directories with spaces (GH-145357)
Re-do on updated branch
1 parent 1a2b0fb commit 7f9c369

8 files changed

+16
-0
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,22 @@ repos:
4949
types: [python]
5050
exclude: ^Tools/c-analyzer/cpython/_parser.py
5151

52+
- repo: local
53+
hooks:
54+
- id: blurb-no-space-c-api
55+
name: Check C API news entries
56+
language: fail
57+
entry: Space found in path, move to Misc/NEWS.d/next/C_API/
58+
files: Misc/NEWS.d/next/C API/20.*.rst
59+
60+
- repo: local
61+
hooks:
62+
- id: blurb-no-space-core-and-builtins
63+
name: Check Core and Builtins news entries
64+
language: fail
65+
entry: Space found in path, move to Misc/NEWS.d/next/Core_and_Builtins/
66+
files: Misc/NEWS.d/next/Core and Builtins/20.*.rst
67+
5268
- repo: https://github.com/pre-commit/pre-commit-hooks
5369
rev: v6.0.0
5470
hooks:
File renamed without changes.

Misc/NEWS.d/next/Core and Builtins/2023-07-26-00-03-00.gh-issue-80667.N7Dh8B.rst renamed to Misc/NEWS.d/next/Core_and_Builtins/2023-07-26-00-03-00.gh-issue-80667.N7Dh8B.rst

File renamed without changes.

Misc/NEWS.d/next/Core and Builtins/2026-01-10-10-58-36.gh-issue-143650.k8mR4x.rst renamed to Misc/NEWS.d/next/Core_and_Builtins/2026-01-10-10-58-36.gh-issue-143650.k8mR4x.rst

File renamed without changes.

Misc/NEWS.d/next/Core and Builtins/2026-02-08-12-47-27.gh-issue-144601.E4Yi9J.rst renamed to Misc/NEWS.d/next/Core_and_Builtins/2026-02-08-12-47-27.gh-issue-144601.E4Yi9J.rst

File renamed without changes.

Misc/NEWS.d/next/Core and Builtins/2026-02-13-18-30-59.gh-issue-144766.JGu3x3.rst renamed to Misc/NEWS.d/next/Core_and_Builtins/2026-02-13-18-30-59.gh-issue-144766.JGu3x3.rst

File renamed without changes.

Misc/NEWS.d/next/Core and Builtins/2026-02-26-21-36-00.gh-issue-145234.w0mQ9n.rst renamed to Misc/NEWS.d/next/Core_and_Builtins/2026-02-26-21-36-00.gh-issue-145234.w0mQ9n.rst

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)