forked from kubernetes-sigs/cluster-api-provider-azure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
78 lines (78 loc) · 2.22 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
67
68
69
70
71
72
73
74
75
76
77
78
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
stages: [pre-push]
language: system
require_serial: true
- id: make-gen
name: Run make generate
entry: make generate
stages: [pre-push]
language: system
require_serial: true
- id: make-verify-generate-local
name: Run make verify-generate-local
entry: make verify-generate-local
stages: [ pre-push ]
language: system
require_serial: true
- id: make-spellcheck
name: Run make verify-shellcheck
entry: make verify-shellcheck
stages: [pre-push]
language: system
require_serial: true
- id: make-conversions
name: Run make verify-conversions
entry: make verify-conversions
stages: [pre-push]
language: system
require_serial: true
- id: make-tiltfile
name: Run make verify-tiltfile
entry: make verify-tiltfile
stages: [pre-push]
language: system
require_serial: true
- id: make-test
name: Run make go-test
entry: make go-test
stages: [pre-push]
language: system
require_serial: true