-
Notifications
You must be signed in to change notification settings - Fork 431
/
.pre-commit-config.yaml
66 lines (66 loc) · 1.64 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
default_stages: [pre-commit, pre-push]
default_install_hook_types: [pre-commit, pre-push]
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.1
hooks:
- id: gitleaks
stages: [pre-commit]
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
args: ["--external-sources"]
stages: [pre-commit]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
stages: [pre-commit]
- id: trailing-whitespace
stages: [pre-commit]
- id: detect-private-key
stages: [pre-commit]
- repo: https://github.com/pylint-dev/pylint
rev: v3.3.1
hooks:
- id: pylint
exclude: ^hack/boilerplate/boilerplate.py$
stages: [pre-commit]
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: forbid-binary
stages: [pre-commit]
- repo: local
hooks:
- id: make-modules
name: Run make verify-modules
entry: make verify-modules
language: system
stages: [pre-push]
- id: make-gen
name: Run make verify-gen
entry: make verify-gen
language: system
stages: [pre-push]
- id: make-spellcheck
name: Run make verify-shellcheck
entry: make verify-shellcheck
language: system
stages: [pre-push]
- id: make-conversions
name: Run make verify-conversions
entry: make verify-conversions
language: system
stages: [pre-push]
- id: make-tiltfile
name: Run make verify-tiltfile
entry: make verify-tiltfile
language: system
stages: [pre-push]
- id: make-test
name: Run make go-test
entry: make go-test
language: system
stages: [pre-push]