-
Notifications
You must be signed in to change notification settings - Fork 18
/
.pre-commit-config.yaml
35 lines (31 loc) · 1.03 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: local
hooks:
- id: helm-docs
name: helm-docs
language: docker_image
entry: jnorwood/helm-docs:v1.11.2 --chart-search-root=diracx --output-file=../README.md --template-files=../README.md.gotmpl --chart-to-generate=diracx
always_run: true
pass_filenames: false
- id: helm-lint
name: helm-lint
language: docker_image
entry: alpine/helm:3.11.1 lint diracx/ --set diracx.hostname=diracx.invalid
always_run: true
pass_filenames: false
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.9.0
hooks:
- id: shellcheck
# TODO: Render demo in CI and run the scripts through shell-check
exclude: '\.tpl$'