mirror of https://github.com/python/cpython
Add end-of-file-fixer to pre-commit (#106065)
This commit is contained in:
parent
bef1c8761e
commit
8c24a83737
|
@ -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…
Reference in New Issue