summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-06-16 09:12:16 +0000
committerSanto Cariotti <santo@dcariotti.me>2025-06-16 09:12:16 +0000
commit3a2697d9437a649d47ec1297748a89e1de683f4d (patch)
treed1ce53e98a8de9187324b9be4e534abe60631e9f /.pre-commit-config.yaml
parentbb3eadc0756062e82a6feb73d4bae5bd1cb18917 (diff)
Rename `DefaultHasher` to `DummyHasher`
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..1fd184b
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,10 @@
+repos:
+- repo: https://github.com/doublify/pre-commit-rust
+ rev: v1.0
+ hooks:
+ - id: cargo-check
+ args: ["--workspace"]
+ - id: fmt
+ args: ["--", "--check"]
+ - id: clippy
+ args: ["--", "-D", "warnings"]