chore(pre-commit): simplify hooks

This commit is contained in:
张泊明518370910136 2024-10-19 00:51:34 -04:00
parent c3d893d268
commit 93bcaf216c
GPG Key ID: D47306D7062CDA9D

View File

@ -7,7 +7,11 @@ repos:
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: requirements-txt-fixer
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
hooks:
@ -46,11 +50,6 @@ repos:
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: local
hooks:
- id: pytest-check