cpython/.pre-commit-config.yaml
Miss Islington (bot) f955ed9da7
[3.12] Add end-of-file-fixer to pre-commit (GH-106065) (#106080)
Add end-of-file-fixer to pre-commit (GH-106065)
(cherry picked from commit 8c24a83737)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-06-25 11:18:22 +00:00

18 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.7
hooks:
- id: sphinx-lint
args: [--enable=default-role]
files: ^Doc/
types: [rst]