We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b3e5a4 commit 2a0152fCopy full SHA for 2a0152f
.pre-commit-config.yaml
@@ -19,12 +19,22 @@ repos:
19
- batch
20
- id: trailing-whitespace
21
args: [ --markdown-linebreak-ext=md ]
22
- - repo: https://github.com/doublify/pre-commit-rust
23
- rev: v1.0
+ - repo: local
24
hooks:
25
- - id: fmt
26
- - id: cargo-check
27
- - id: clippy
+ - id: cargo-fmt
+ name: cargo fmt
+ entry: cargo fmt
+ language: system
28
+ types: [rust]
29
+ pass_filenames: false
30
31
+ hooks:
32
+ - id: cargo-clippy
33
+ name: cargo clippy
34
+ entry: cargo clippy --all-features --tests -- -D warnings
35
36
37
38
- repo: local
39
40
- id: isort
0 commit comments