mirror of
https://github.com/python/cpython.git
synced 2024-11-30 21:34:17 +08:00
71962e5237
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
19 lines
483 B
YAML
19 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]
|