File tree Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,38 @@ repos:
1414 - id : trailing-whitespace
1515 - id : no-commit-to-branch
1616 args : ["--branch", "main"]
17- - repo : https://github.com/backplane/pre-commit-rust-hooks
18- rev : v1.1.0
17+ - repo : local
1918 hooks :
2019 - id : fmt
20+ name : cargo fmt
21+ description : format files with "cargo fmt"
22+ types :
23+ - rust
24+ language : rust
25+ entry : cargo fmt
26+ args :
27+ - --
2128 - id : check
29+ name : cargo check
30+ description : check the package for errors with "cargo check"
31+ types :
32+ - rust
33+ language : rust
34+ entry : cargo check
35+ pass_filenames : false
2236 - id : clippy
37+ name : cargo clippy
38+ description : check the package with "cargo clippy"
39+ types :
40+ - rust
41+ language : rust
42+ entry : cargo clippy
43+ pass_filenames : false
2344 - id : test
45+ name : cargo test
46+ description : run the tests with "cargo test"
47+ types :
48+ - rust
49+ language : rust
50+ entry : cargo test
51+ pass_filenames : false
You can’t perform that action at this time.
0 commit comments