Skip to content

Commit 08d0ba6

Browse files
move all to local hooks
1 parent 89c6dac commit 08d0ba6

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,19 @@ repos:
2727
entry: cargo fmt
2828
args:
2929
- --
30-
- repo: https://github.com/backplane/pre-commit-rust-hooks
31-
rev: v1.1.0
32-
hooks:
33-
- id: check
34-
- id: clippy
35-
- id: test
30+
- id: check
31+
name: cargo check
32+
description: check the package for errors with "cargo check"
33+
types:
34+
- rust
35+
language: rust
36+
entry: cargo check
37+
pass_filenames: false
38+
- id: clippy
39+
name: cargo clippy
40+
description: check the package with "cargo clippy"
41+
types:
42+
- rust
43+
language: rust
44+
entry: cargo clippy
45+
pass_filenames: false

0 commit comments

Comments
 (0)