Skip to content

Commit f955ed9

Browse files
[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 8c24a83) Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent f930bee commit f955ed9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ repos:
33
rev: v4.4.0
44
hooks:
55
- id: check-yaml
6+
- id: end-of-file-fixer
7+
types: [python]
8+
exclude: Lib/test/coding20731.py
69
- id: trailing-whitespace
710
types_or: [c, python, rst]
811

0 commit comments

Comments
 (0)