From 662b51969186c8c808762561cc09318808ad11fa Mon Sep 17 00:00:00 2001 From: etgraylog Date: Fri, 14 Feb 2025 00:30:19 -0500 Subject: [PATCH] Add requirements noted by newer ansible-lint for use. --- .yamllint | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.yamllint b/.yamllint index 3ce1acf..b53aeb4 100644 --- a/.yamllint +++ b/.yamllint @@ -15,7 +15,8 @@ rules: commas: max-spaces-after: -1 level: error - comments: disable + comments: + min-spaces-from-content: 1 # Ensure at least 1 space between `#` and content comments-indentation: disable document-start: disable empty-lines: @@ -29,9 +30,12 @@ rules: new-line-at-end-of-file: disable new-lines: type: unix + octal-values: + forbid-implicit-octal: true # Enforce explicit octal format + forbid-explicit-octal: true # Prevent octal values altogether trailing-spaces: disable truthy: disable ignore: | .github/stale.yml - venv/ + venv/ \ No newline at end of file