chore: Switch to pre-commit.
All checks were successful
CI / test (ubuntu-latest) (push) Successful in 1m20s

This commit is contained in:
Nolan Darilek 2024-07-06 13:42:14 -05:00
parent 59a74325ff
commit e2cc463a6a

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