summaryrefslogtreecommitdiff
path: root/lefthook.yml
diff options
context:
space:
mode:
Diffstat (limited to 'lefthook.yml')
-rw-r--r--lefthook.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/lefthook.yml b/lefthook.yml
index b855ccb..8899132 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -10,3 +10,10 @@ pre-commit:
yamllint:
glob: "**/*.{yml,yaml}"
run: yamllint {staged_files}
+ fmt:
+ run: cargo fmt --all -- --check
+ stage_fixed: true
+ # clippy:
+ # run: cargo clippy --all-targets --all-features -- -D warnings
+ test:
+ run: cargo test --all \ No newline at end of file