cpython/.pre-commit-config.yaml
Hugo van Kemenade 90a22eae45
[3.12] Run sphinx-lint on Misc/NEWS.d/next/ (GH-108212) (#108213)
Run sphinx-lint on Misc/NEWS.d/next/
2023-08-21 15:32:33 +02:00

18 lines
483 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
types: [python]
exclude: Lib/test/coding20731.py
- id: trailing-whitespace
types_or: [c, python, rst]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.6.8
hooks:
- id: sphinx-lint
args: [--enable=default-role]
files: ^Doc/|^Misc/NEWS.d/next/
types: [rst]