-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
100 lines (90 loc) · 2.87 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
fail_fast: true
repos:
# Requires hadolint binary on local machine.
- repo: https://github.com/hadolint/hadolint
rev: v2.13.0-beta
hooks:
- id: hadolint
args:
- --config
- .github/.hadolint.yaml
- -t
- error
- Dockerfile
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
args: [--maxkb=10000, --enforce-all]
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: mixed-line-ending
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
args:
- -x
- repo: https://github.com/bjd2385/dynamic-continuation-orb
rev: v3.8.1
hooks:
- id: circleci-config-validate
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.23
hooks:
- id: helmlint
- repo: local
hooks:
- id: mypy
language: script
name: mypy
entry: /usr/bin/env poetry run mypy
args:
- --non-interactive
- --install-types
- --config-file=pyproject.toml
files: ^src/.*.py$
- id: pylint
language: script
name: pylint
entry: /usr/bin/env poetry run pylint
args: []
files: ^src/.*.py$
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.17
hooks:
- id: validate-pyproject
- repo: https://github.com/python-poetry/poetry
rev: 1.8.0
hooks:
- id: poetry-check
- id: poetry-lock
- repo: https://github.com/python-poetry/poetry-plugin-export
rev: 1.8.0
hooks:
- id: poetry-export
- repo: https://github.com/premiscale/pre-commit-hooks
rev: v0.0.9
hooks:
- id: msg-issue-prefix
- repo: https://github.com/bitnami/readme-generator-for-helm
rev: 2.6.1
hooks:
- id: helm-readme-generator
name: helm-readme-generator-operator
# in order to run helm-readme-generator only once
pass_filenames: false
always_run: true
# default args are [--readme=chart/README.md, --values=chart/values.yaml]
args: [--readme=helm/operator/README.md, --values=helm/operator/values.yaml, --schema=helm/operator/values.schema.json]
- id: helm-readme-generator
name: helm-readme-generator-operator-e2e
pass_filenames: false
always_run: true
args: [--readme=helm/operator-e2e/README.md, --values=helm/operator-e2e/values.yaml, --schema=helm/operator-e2e/values.schema.json]
- id: helm-readme-generator
name: helm-readme-generator-operator-crds
pass_filenames: false
always_run: true
args: [--readme=helm/operator-crds/README.md, --values=helm/operator-crds/values.yaml, --schema=helm/operator-crds/values.schema.json]