This repository was archived by the owner on Oct 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
69 lines (69 loc) · 2.26 KB
/
.pre-commit-config.yaml
File metadata and controls
69 lines (69 loc) · 2.26 KB
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
repos:
- repo: https://github.com/norwoodj/helm-docs
rev: v1.2.0
hooks:
- id: helm-docs
files: (README\.md(\.gotmpl)?|(Chart|requirements|values)\.ya?ml)$
args:
# Make the tool search for charts only under the ``charts` directory
- --chart-search-root=charts
# The `./` makes it relative to the chart-search-root set above
- --template-files=./_templates.gotmpl
# A base filename makes it relative to each chart directory found
- --template-files=README.md.gotmpl
- repo: https://github.com/dadav/helm-schema
rev: "0.18.1"
hooks:
- id: helm-schema
args:
- --append-newline
- --chart-search-root=charts
- --add-schema-reference
- --helm-docs-compatibility-mode
- --skip-auto-generation=required
- --no-dependencies
- -o=values.schema.tmpl.json
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.6.0
hooks:
- id: zizmor
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-json
- id: detect-private-key
- id: end-of-file-fixer
exclude: (^.vale/)|(values.schema.json$)
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/errata-ai/vale
rev: v3.11.2
hooks:
- id: vale
files: \.(md(\.gotmpl)?|txt|rst)$
exclude: charts/llm-d/README.md
- repo: https://github.com/crate-ci/typos
rev: v1.32.0
hooks:
- id: typos
exclude: (^.vale/)|(charts/llm-d/crds/modelservice-crd.yaml$)|(values.schema.json$)
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.29
hooks:
- id: helmlint
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.17.2
hooks:
- id: markdownlint-cli2
exclude: (charts/llm-d/README.md)|(^.vale/)
- repo: local
hooks:
- id: jsonschema-dereference
name: jsonschema-dereference
entry: python .pre-commit/jsonschema-dereference.py
additional_dependencies: [jsonref]
language: python
files: values\.(schema(\.tmpl)?\.json|yaml)$
types_or: [yaml, json]