Initial commit

This commit is contained in:
2022-03-21 15:24:12 +00:00
commit aed96ec89c
22 changed files with 968 additions and 0 deletions

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

@@ -0,0 +1,18 @@
repos:
- repo: local
hooks:
- id: format
name: format
language: system
pass_filenames: false
entry: cargo fmt --all -- --check
- id: check
name: check
language: system
pass_filenames: false
entry: cargo check --tests
- id: clippy
name: clippy
language: system
pass_filenames: false
entry: cargo clippy -- -D warnings