fix(dev): install a lightweight formatting commit hook

This commit is contained in:
overtrue
2026-09-05 18:31:40 +08:00
parent 7ba5cd6888
commit b84e8a949e
3 changed files with 17 additions and 42 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
repos:
- repo: local
hooks:
- id: rustfs-dev-check
name: rustfs dev-check
entry: make dev-check
- id: rustfs-fmt-check
name: Rust formatting
entry: cargo fmt --all --check
language: system
types: [rust]
pass_filenames: false