Move formatting check to a per-commit basis
This commit is contained in:
parent
59b77ad62d
commit
2f79367994
|
@ -2,5 +2,5 @@
|
|||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
[hooks]
|
||||
pre-commit = "reuse lint && cargo test"
|
||||
pre-push = "cargo check && cargo fmt -- --check"
|
||||
pre-commit = "reuse lint && cargo fmt -- --check && cargo test"
|
||||
pre-push = "cargo check"
|
Loading…
Reference in New Issue