chore: update pre-commit hooks

This commit is contained in:
张泊明518370910136 2024-10-08 16:02:01 -04:00
parent 3c2fa7ebda
commit 8ed89b7be7
GPG Key ID: D47306D7062CDA9D

View File

@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
@ -26,12 +26,12 @@ repos:
entry: make build
language: system
always_run: true
stages: [commit]
stages: [pre-commit]
pass_filenames: false
- id: make-test
name: make test
entry: make test
language: system
always_run: true
stages: [commit]
stages: [pre-commit]
pass_filenames: false