]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Move NEWS entries out of directories with spaces (GH-145357)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sat, 28 Feb 2026 18:48:12 +0000 (18:48 +0000)
committerGitHub <noreply@github.com>
Sat, 28 Feb 2026 18:48:12 +0000 (10:48 -0800)
Re-do on updated branch

.pre-commit-config.yaml
Misc/NEWS.d/next/C_API/README.rst [moved from Misc/NEWS.d/next/C API/README.rst with 100% similarity]
Misc/NEWS.d/next/Core_and_Builtins/2023-07-26-00-03-00.gh-issue-80667.N7Dh8B.rst [moved from Misc/NEWS.d/next/Core and Builtins/2023-07-26-00-03-00.gh-issue-80667.N7Dh8B.rst with 100% similarity]
Misc/NEWS.d/next/Core_and_Builtins/2026-01-10-10-58-36.gh-issue-143650.k8mR4x.rst [moved from Misc/NEWS.d/next/Core and Builtins/2026-01-10-10-58-36.gh-issue-143650.k8mR4x.rst with 100% similarity]
Misc/NEWS.d/next/Core_and_Builtins/2026-02-08-12-47-27.gh-issue-144601.E4Yi9J.rst [moved from Misc/NEWS.d/next/Core and Builtins/2026-02-08-12-47-27.gh-issue-144601.E4Yi9J.rst with 100% similarity]
Misc/NEWS.d/next/Core_and_Builtins/2026-02-13-18-30-59.gh-issue-144766.JGu3x3.rst [moved from Misc/NEWS.d/next/Core and Builtins/2026-02-13-18-30-59.gh-issue-144766.JGu3x3.rst with 100% similarity]
Misc/NEWS.d/next/Core_and_Builtins/2026-02-26-21-36-00.gh-issue-145234.w0mQ9n.rst [moved from Misc/NEWS.d/next/Core and Builtins/2026-02-26-21-36-00.gh-issue-145234.w0mQ9n.rst with 100% similarity]
Misc/NEWS.d/next/Core_and_Builtins/README.rst [moved from Misc/NEWS.d/next/Core and Builtins/README.rst with 100% similarity]

index 33c0ab8645f13c0e15906feaef0b1d322bcdec60..fa49526ad51ad3bda109490617dc758b483ca78a 100644 (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: