From f36a6227cd6c5cacaa232fadb5550fa06ea89af6 Mon Sep 17 00:00:00 2001 From: Eric Dropps Date: Wed, 28 Oct 2026 16:48:34 -0600 Subject: [PATCH] yamllint: skip .venv and .cache like ansible-lint does `yamllint .` from a contributor checkout descended into the documented .venv/ and reported errors from installed third-party packages, so the pre-submit check in CONTRIBUTING.md and AGENTS.md failed locally even when the tracked tree was clean. Mirror .ansible-lint's exclude_paths. Co-Authored-By: Claude Opus 5.5 --- .yamllint | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.yamllint b/.yamllint index ba130e5..7ff2565 100644 --- a/.yamllint +++ b/.yamllint @@ -1,6 +1,12 @@ --- extends: default +# Match .ansible-lint exclude_paths so a local `yamllint .` skips the +# contributor virtualenv and caches. +ignore: | + .cache/ + .venv/ + rules: comments: min-spaces-from-content: 1