From 6a6624db9a9a7c9eaabea8bdcae6f3def0b917d6 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 26 Apr 2025 13:43:05 +0200 Subject: [PATCH] Make yamllint config strict. --- .yamllint | 6 +++--- .../docker_container_copy_into/tasks/tests/content.yml | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.yamllint b/.yamllint index 73d53b68..a6707e29 100644 --- a/.yamllint +++ b/.yamllint @@ -45,9 +45,9 @@ rules: braces: min-spaces-inside: 0 max-spaces-inside: 1 - #octal-values: - # forbid-implicit-octal: true - # forbid-explicit-octal: true + octal-values: + forbid-implicit-octal: true + forbid-explicit-octal: true comments: min-spaces-from-content: 1 comments-indentation: false diff --git a/tests/integration/targets/docker_container_copy_into/tasks/tests/content.yml b/tests/integration/targets/docker_container_copy_into/tasks/tests/content.yml index e58e97c6..5f295ddd 100644 --- a/tests/integration/targets/docker_container_copy_into/tasks/tests/content.yml +++ b/tests/integration/targets/docker_container_copy_into/tasks/tests/content.yml @@ -274,7 +274,9 @@ content: | Content 1 container_path: '/file' + # yamllint disable mode: 0770 + # yamllint enable mode_parse: modern owner_id: 0 group_id: 0 @@ -298,7 +300,9 @@ content: | Content 1 container_path: '/file' + # yamllint disable mode: 0707 + # yamllint enable mode_parse: legacy owner_id: 0 group_id: 0