🔧 增加pre-commit-hooks

This commit is contained in:
Wuyi无疑 2023-03-03 23:26:50 +08:00
parent 17d9bcff51
commit c45149c23d

View File

@ -27,6 +27,12 @@ repos:
hooks:
- id: pycln
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-poetry/poetry
rev: 1.3.1
hooks: