From 4cb4e553040f25e5fb8a2305fa4ec0097022165a Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Wed, 16 Oct 2024 11:33:41 +0200 Subject: [PATCH] Update yamllint config to fix the CI errors Recently we started seeing CI failing on fi-ansible-lint-diff job, this update to yamllint config should fix that. See https://ansible.readthedocs.io/projects/lint/rules/yaml/#yamllint-configuration for more information about the default yamllint config. Signed-off-by: Michal Konecny --- .yamllint.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.yamllint.yaml b/.yamllint.yaml index 7f42deddbd..ea33622879 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -2,6 +2,14 @@ extends: default rules: + comments: + min-spaces-from-content: 1 + comments-indentation: false + braces: + max-spaces-inside: 1 + octal-values: + forbid-implicit-octal: true + forbid-explicit-octal: true indentation: spaces: 2 indent-sequences: whatever