Make yamllint config strict.

This commit is contained in:
Felix Fontein 2025-04-26 13:43:05 +02:00
parent 4c93048933
commit 6a6624db9a
2 changed files with 7 additions and 3 deletions

View File

@ -45,9 +45,9 @@ rules:
braces: braces:
min-spaces-inside: 0 min-spaces-inside: 0
max-spaces-inside: 1 max-spaces-inside: 1
#octal-values: octal-values:
# forbid-implicit-octal: true forbid-implicit-octal: true
# forbid-explicit-octal: true forbid-explicit-octal: true
comments: comments:
min-spaces-from-content: 1 min-spaces-from-content: 1
comments-indentation: false comments-indentation: false

View File

@ -274,7 +274,9 @@
content: | content: |
Content 1 Content 1
container_path: '/file' container_path: '/file'
# yamllint disable
mode: 0770 mode: 0770
# yamllint enable
mode_parse: modern mode_parse: modern
owner_id: 0 owner_id: 0
group_id: 0 group_id: 0
@ -298,7 +300,9 @@
content: | content: |
Content 1 Content 1
container_path: '/file' container_path: '/file'
# yamllint disable
mode: 0707 mode: 0707
# yamllint enable
mode_parse: legacy mode_parse: legacy
owner_id: 0 owner_id: 0
group_id: 0 group_id: 0