Skip to content

Commit 340a7de

Browse files
committed
Yamllint: update config to fix (ignore) warnings
Yamllint 1.37.1 introduced a new check which check the number of spaces between the Yaml and trailing comments on the same line. In their wisdom, they have elected to make the expected number of spaces default to `2`, while we use `1` in practice. This commit updates the configuration to check for 1 space instead of 2. Ref: * https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst#1371-2025-05-04 * https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.comments
1 parent 7e6a7a3 commit 340a7de

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.yamllint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ rules:
66
level: warning
77
max: 120
88
truthy: {allowed-values: ["true", "false", "on"]}
9+
comments:
10+
min-spaces-from-content: 1

0 commit comments

Comments
 (0)