mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
[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>
This commit is contained in:
parent
f930bee003
commit
f955ed9da7
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,9 @@ repos:
|
|||
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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue