Skip to content

Commit c45149c

Browse files
committed
🔧 增加pre-commit-hooks
1 parent 17d9bcf commit c45149c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ repos:
2727
hooks:
2828
- id: pycln
2929

30+
- repo: https://github.com/pre-commit/pre-commit-hooks
31+
rev: v4.4.0
32+
hooks:
33+
- id: end-of-file-fixer
34+
- id: trailing-whitespace
35+
3036
- repo: https://github.com/python-poetry/poetry
3137
rev: 1.3.1
3238
hooks:

0 commit comments

Comments
 (0)