From 2f793679944e375fd7099a0e763551f626d885b3 Mon Sep 17 00:00:00 2001 From: Matteo Settenvini Date: Fri, 1 Jul 2022 22:37:29 +0200 Subject: [PATCH] Move formatting check to a per-commit basis --- .rusty-hook.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.rusty-hook.toml b/.rusty-hook.toml index 109167c..a9e2c47 100644 --- a/.rusty-hook.toml +++ b/.rusty-hook.toml @@ -2,5 +2,5 @@ # SPDX-License-Identifier: CC0-1.0 [hooks] -pre-commit = "reuse lint && cargo test" -pre-push = "cargo check && cargo fmt -- --check" \ No newline at end of file +pre-commit = "reuse lint && cargo fmt -- --check && cargo test" +pre-push = "cargo check" \ No newline at end of file