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