forked from chapinb/chickadee-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
45 lines (40 loc) · 1.04 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-case-conflict
- id: check-json
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: detect-private-key
- id: detect-aws-credentials
args: ["--allow-missing-credentials"]
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: detect-secrets
- repo: local
hooks:
- id: cargo-fmt
name: cargo fmt
entry: cargo fmt
language: rust
pass_filenames: False
- id: cargo-check
name: cargo check
entry: cargo check
language: rust
pass_filenames: False
- id: cargo-clippy
name: cargo clippy
entry: cargo clippy
language: rust
pass_filenames: False
- id: cargo-test
name: cargo test
entry: cargo test
language: rust
pass_filenames: False