-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.pre-commit-config.yaml
41 lines (41 loc) · 1.02 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: check-yaml
args: ["--allow-multiple-documents"]
- id: trailing-whitespace
- repo: https://github.com/TekWizely/pre-commit-golang
rev: v1.0.0-rc.1
hooks:
- id: go-fmt
args: ["-w"]
- id: golangci-lint-mod
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: cargo-check
args:
- --target-dir
- /tmp/cargo
- id: clippy
args:
- --target-dir
- /tmp/cargo
- --
- -Dwarnings
- repo: https://github.com/futuretech6/pre-commit-rust-nightly
rev: v1.1
hooks:
- id: fmt
name: rust-fmt
args: ['--', '--unstable-features']
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.10.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8