Add end-of-file-fixer to pre-commit (#106065)

This commit is contained in:
Hugo van Kemenade 2023-06-25 13:44:23 +03:00 committed by GitHub
parent bef1c8761e
commit 8c24a83737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ repos:
rev: v4.4.0 rev: v4.4.0
hooks: hooks:
- id: check-yaml - id: check-yaml
- id: end-of-file-fixer
types: [python]
exclude: Lib/test/coding20731.py
- id: trailing-whitespace - id: trailing-whitespace
types_or: [c, python, rst] types_or: [c, python, rst]