forked from kubernetes-sigs/cluster-api-provider-azure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
58 lines (58 loc) · 1.62 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
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.3
hooks:
- id: gitleaks
- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
hooks:
- id: golangci-lint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pylint-dev/pylint
rev: v2.17.2
hooks:
- id: pylint
exclude: ^hack/boilerplate/boilerplate.py$
- repo: local
hooks:
- id: make-verify-boilerplate
name: Run make verify-boilerplate
description: Runs `make verify-boilerplate` to check for boilerplate headers.
entry: make verify-boilerplate
language: system
- repo: local
hooks:
- id: make-verify-modules
name: Run make verify-modules
description: Runs `make verify-modules` to verify go.sum go.mod are the latest.
entry: make verify-modules
language: system
- repo: local
hooks:
- id: make-verify-shellcheck
name: Run make verify-shellcheck
description: Runs `make verify-shellcheck` to verify shell files are passing lint.
entry: make verify-shellcheck
language: system
- repo: local
hooks:
- id: make-verify-tiltfile
name: Run make verify-tiltfile
description: Runs `make verify-tiltfile` to verify Tiltfile format.
entry: make verify-tiltfile
language: system
- repo: local
hooks:
- id: make-codespell
name: Run make verify-codespell
description: Runs `make verify-codespell` to verify codespell format.
entry: make verify-codespell
language: system