Skip to content

Commit a8a7970

Browse files
committed
fix pre-commit issues
1 parent 8829567 commit a8a7970

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ repos:
55
- id: check-added-large-files
66
args: ["--maxkb=1000"] # uv.lock is more than 500kB
77
- id: check-yaml
8+
# omit helm templates which are not valid yaml
9+
exclude: ^.*configmap.yaml$
810
- id: check-merge-conflict
911
- id: end-of-file-fixer
1012

tests/data/bl01t-services/services/bl01t-ea-test-01/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
data:
88

99
# contents of the ioc instance config folder
10-
{{ (.Files.Glob "config/*").AsConfig | indent 2 }}
10+
{{ (.Files.Glob "config/*").AsConfig | indent 2 }}

tests/data/bl01t-services/services/dls-aravis/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
# configure an Aravis Camera with the Standard set of Plugins
88
data:
99
ioc.yaml: >
10-
{{ tpl (.Files.Get "config/ioc.yaml") . | nindent 4 | replace "[[" "{{" | replace "]]" "}}" }}
10+
{{ tpl (.Files.Get "config/ioc.yaml") . | nindent 4 | replace "[[" "{{" | replace "]]" "}}" }}

0 commit comments

Comments
 (0)