[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:
Miss Islington (bot) 2023-06-25 04:18:22 -07:00 committed by GitHub
parent f930bee003
commit f955ed9da7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]