From 169b70ff0689f92bd1f339ce492023bfdae41db3 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Wed, 21 Sep 2022 17:27:23 +0200 Subject: [PATCH] chore: add pre-commit --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..b447cbd --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/cathiele/pre-commit-rust + rev: v0.1.0 + hooks: + - id: cargo-fmt + - id: cargo-check + - id: cargo-clippy