mirror of
https://github.com/python/cpython.git
synced 2024-11-28 12:31:14 +08:00
19 lines
464 B
YAML
19 lines
464 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/
|
|
types: [rst]
|