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