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