From 1b68e9726ecc270341747ce29988100d6e5c211f Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Mon, 22 Apr 2024 23:58:18 +0200 Subject: [PATCH] chore: improve repo management --- .lefthook.yml | 1 + .yamllint.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.lefthook.yml b/.lefthook.yml index 6f9e335..2f7cb2e 100644 --- a/.lefthook.yml +++ b/.lefthook.yml @@ -26,6 +26,7 @@ lint: parallel: true commands: ansible: &ansible-lint + glob: '*ansible*' run: .venv/bin/ansible-lint docker: &hadolint # The official docker image is based on scratch and only takes only one diff --git a/.yamllint.yaml b/.yamllint.yaml index 97b910d..169b3cb 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -9,12 +9,12 @@ rules: ignore: - 'cloud-init/*' - 'examples/cloud-init/*' - - 'examples/terraform/multi-part cloud-init/*' + - 'examples/**/multi-part cloud-init/*' document-start: ignore: - 'cloud-init/*' - 'examples/cloud-init/*' - - 'examples/terraform/multi-part cloud-init/*' + - 'examples/**/multi-part cloud-init/*' line-length: level: warning max: 120