File tree Expand file tree Collapse file tree 1 file changed +33
-2
lines changed Expand file tree Collapse file tree 1 file changed +33
-2
lines changed Original file line number Diff line number Diff line change 1+ default_language_version :
2+ rust : " 1.86"
3+
14repos :
25 - repo : https://github.com/pre-commit/pre-commit-hooks
36 rev : v5.0.0
@@ -14,10 +17,38 @@ repos:
1417 - id : trailing-whitespace
1518 - id : no-commit-to-branch
1619 args : ["--branch", "main"]
17- - repo : https://github.com/backplane/pre-commit-rust-hooks
18- rev : v1.1.0
20+ - repo : local
1921 hooks :
2022 - id : fmt
23+ name : cargo fmt
24+ description : format files with "cargo fmt"
25+ types :
26+ - rust
27+ language : rust
28+ entry : cargo fmt
29+ args :
30+ - --
2131 - id : check
32+ name : cargo check
33+ description : check the package for errors with "cargo check"
34+ types :
35+ - rust
36+ language : rust
37+ entry : cargo check
38+ pass_filenames : false
2239 - id : clippy
40+ name : cargo clippy
41+ description : check the package with "cargo clippy"
42+ types :
43+ - rust
44+ language : rust
45+ entry : cargo clippy
46+ pass_filenames : false
2347 - id : test
48+ name : cargo test
49+ description : run the tests with "cargo test"
50+ types :
51+ - rust
52+ language : rust
53+ entry : cargo test
54+ pass_filenames : false
You can’t perform that action at this time.
0 commit comments