Skip to content

Commit

Permalink
Do not format files on pre-commit but fail when not formatted correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-hartl authored Mar 29, 2024
1 parent 66173a4 commit 7d44115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rusty-hook.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[hooks]
pre-commit = "cargo fmt --all"
pre-commit = "cargo fmt --all -- --check"
pre-push = "cargo build"
[logging]
verbose = true

0 comments on commit 7d44115

Please sign in to comment.