2023-05-08 16:03:52 +02:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
2023-06-25 12:44:23 +02:00
|
|
|
- id: end-of-file-fixer
|
|
|
|
types: [python]
|
|
|
|
exclude: Lib/test/coding20731.py
|
2023-05-08 16:03:52 +02:00
|
|
|
- id: trailing-whitespace
|
|
|
|
types_or: [c, python, rst]
|
2023-06-18 13:52:05 +02:00
|
|
|
|
|
|
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
2023-07-22 11:38:47 +02:00
|
|
|
rev: v0.6.8
|
2023-06-18 13:52:05 +02:00
|
|
|
hooks:
|
|
|
|
- id: sphinx-lint
|
|
|
|
args: [--enable=default-role]
|
2023-08-21 15:13:55 +02:00
|
|
|
files: ^Doc/|^Misc/NEWS.d/next/
|
2023-06-18 13:52:05 +02:00
|
|
|
types: [rst]
|