-
Notifications
You must be signed in to change notification settings - Fork 11
/
.pre-commit-config.yaml
36 lines (36 loc) · 1.08 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
# See https://pre-commit.com for more information
repos:
- repo: local
hooks:
- id: ct-lint
name: "Chart Test: Lint"
language: docker_image
pass_filenames: false
types: ['file']
files: '^deploy/charts/.*(\.ya?ml|\.tpl|\.helmignore|NOTES.txt)'
entry: -u 0 quay.io/helmpack/chart-testing:v3.0.0 ct lint --config .ct.yaml
- id: make-fmt
name: "make fmt"
language: system
pass_filenames: false
entry: make fmt
- id: make-lint
name: "make lint"
language: system
pass_filenames: false
entry: make lint
- id: make-test
name: "make test"
language: system
pass_filenames: false
entry: make test
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
exclude: ^deploy/charts/secret-manager/templates/
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]