chore: add pre-commit
This commit is contained in:
parent
e4b10fcc83
commit
169b70ff06
1 changed files with 7 additions and 0 deletions
7
.pre-commit-config.yaml
Normal file
7
.pre-commit-config.yaml
Normal file
|
|
@ -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
|
||||
Reference in a new issue