summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorNicolas Patry <patry.nicolas@protonmail.com>2023-06-21 17:01:32 +0200
committerNicolas Patry <patry.nicolas@protonmail.com>2023-06-22 12:25:58 +0200
commit86e4cbbc3d61739c26da0cca93c7532023480789 (patch)
tree12313297eba85df6e77d7bb799ebb6cbcd1bf18f /.pre-commit-config.yaml
parentce977b489e4863cf5c53495a093c0efef2d41013 (diff)
downloadcandle-86e4cbbc3d61739c26da0cca93c7532023480789.tar.gz
candle-86e4cbbc3d61739c26da0cca93c7532023480789.tar.bz2
candle-86e4cbbc3d61739c26da0cca93c7532023480789.zip
Adding matmul
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 00000000..ad3bc0c2
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,13 @@
+repos:
+ - repo: https://github.com/Narsil/pre-commit-rust
+ rev: 2eed6366172ef2a5186e8785ec0e67243d7d73d0
+ hooks:
+ - id: fmt
+ name: "Rust (fmt)"
+ - id: clippy
+ name: "Rust (clippy)"
+ args:
+ [
+ "--",
+ "-Dwarnings",
+ ]