chore: Integrate pre-commit.

This commit is contained in:
Nolan Darilek 2024-07-06 19:27:50 -05:00
parent 3ef32f30b9
commit 7ad2070fa9

10
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,10 @@
fail_fast: true
repos:
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
args: [--, --check]
- id: cargo-check
args: [--bins, --examples]
- id: clippy