diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2023-10-16 12:26:31 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2023-10-16 12:29:52 +0000 |
| commit | 450eabea277d0e582ed71f103c10ef7b0e5fa9f1 (patch) | |
| tree | 815cd7e1cb30b79a378f69c85b18bb70386520f8 /.pre-commit-config.yaml | |
| parent | 9df59059f0c1b3c123b1ae5be49e12418302ccea (diff) | |
Add pre-commit
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..e61e810 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +--- +default_stages: [commit] + +repos: + - repo: https://github.com/doublify/pre-commit-rust + rev: master + hooks: + - id: fmt + - id: cargo-check + - id: clippy + args: [] |
