Skip to content

Commit

Permalink
Prevent spaces in news entry paths
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Aug 27, 2024
1 parent 54a05a4 commit e4cc2f7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@ repos:
args: [--enable=default-role]
files: ^Doc/|^Misc/NEWS.d/

- repo: local
hooks:
- id: blurb-no-space-c-api
name: Check C API news entries
language: fail
entry: Move news entry 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: Move news entry to Misc/NEWS.d/next/Core_and_Builtins/
files: Misc/NEWS.d/next/Core and Builtins/20.*.rst

- repo: meta
hooks:
- id: check-hooks-apply
Expand Down

0 comments on commit e4cc2f7

Please sign in to comment.