chore: check for redundant pre-commit hooks (#7506)

Signed-off-by: StandingMan <jmtangcs@gmail.com>
This commit is contained in:
Alan Tang
2026-01-07 21:46:42 +08:00
committed by GitHub
parent fce1687fa7
commit a32326c887

View File

@@ -15,8 +15,11 @@ repos:
rev: v1.0
hooks:
- id: fmt
args: ["--", "--check"]
stages: [commit-msg]
- id: clippy
args: ["--workspace", "--all-targets", "--all-features", "--", "-D", "warnings"]
stages: [pre-push]
stages: [commit-msg]
- id: cargo-check
args: ["--workspace", "--all-targets", "--all-features"]
stages: [commit-msg]