diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c805a24..96cb5ca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -88,7 +88,7 @@ repos: description: ansible-lint production profile, offline entry: ansible-lint --offline --nocolor language: system - files: ^(roles/|plugins/|meta/|galaxy\.yml$|\.ansible-lint$|\.yamllint$) + files: ^(roles/|plugins/|meta/|galaxy\.yml$|requirements\.yml$|\.ansible-lint$|\.yamllint$) stages: ['pre-commit'] pass_filenames: false require_serial: true diff --git a/renovate.json b/renovate.json index 6f3c4ee..5b96681 100644 --- a/renovate.json +++ b/renovate.json @@ -95,7 +95,7 @@ "automerge": true }, { - "description": "Every update runs scripts/bump_image_versions.py against origin/main as a postUpgradeTasks command (the base ref and clone depth in Renovate's checkout are verified by the first dry run). The rule matches every package (matchPackageNames *, which strict validation requires as a selector) on purpose: with executionMode branch only the FIRST upgrade's postUpgradeTasks of a branch counts and a branch can carry several upgrades; the script is a no-op when no image input (requirements-dev.txt, .pre-commit-config.yaml, images/**) changed and otherwise makes the PATCH bump of the image version in image.yml. The command must match RENOVATE_ALLOWED_COMMANDS in renovate.yml exactly.", + "description": "Every update runs scripts/bump_image_versions.py against origin/main as a postUpgradeTasks command (the base ref and clone depth in Renovate's checkout are verified by the first dry run). The rule matches every package (matchPackageNames *, which strict validation requires as a selector) on purpose: with executionMode branch only the FIRST upgrade's postUpgradeTasks of a branch counts and a branch can carry several upgrades; the script is a no-op when no image input (requirements-dev.txt, requirements.yml, .pre-commit-config.yaml, images/**) changed and otherwise makes the PATCH bump of the image version in image.yml. The command must match RENOVATE_ALLOWED_COMMANDS in renovate.yml exactly.", "matchPackageNames": [ "*" ], diff --git a/ruff.toml b/ruff.toml index b3509be..07bbb45 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,6 +1,6 @@ # Ruff configuration for the Python under scripts/ and tests/scripts/ (#112). -# Ruff's defaults (pycodestyle E4/E7/E9 and pyflakes F) plus the complexity and function-size -# rules, all at their default thresholds. Do not tune a threshold or ignore a rule globally: +# The default rule set of the pinned ruff (0.17 widened it well beyond the older pycodestyle E4/E7/E9 +# and pyflakes F) plus the complexity and function-size rules, all at their default thresholds. Do not tune a threshold or ignore a rule globally: # suppress a finding inline with its rule code and a reason. [lint]