From 9efa03e2a0e7c568fd114d7912611a54eb951a76 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:52:37 +0000 Subject: [PATCH 1/2] chore: pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.3...v0.9.4) - [github.com/streetsidesoftware/cspell-cli: v8.17.1 → v8.17.2](https://github.com/streetsidesoftware/cspell-cli/compare/v8.17.1...v8.17.2) - [github.com/pycqa/pylint.git: v3.3.3 → v3.3.4](https://github.com/pycqa/pylint.git/compare/v3.3.3...v3.3.4) - [github.com/ansible/ansible-lint: v25.1.0 → v25.1.1](https://github.com/ansible/ansible-lint/compare/v25.1.0...v25.1.1) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b63d65e32..b8baf8fee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,7 +47,7 @@ repos: - prettier-plugin-sort-json - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black @@ -62,14 +62,14 @@ repos: - id: tox-ini-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.3 + rev: v0.9.4 hooks: - id: ruff args: - --exit-non-zero-on-fix - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.17.1 + rev: v8.17.2 hooks: - id: cspell name: Spell check with cspell @@ -83,7 +83,7 @@ repos: pass_filenames: false - repo: https://github.com/pycqa/pylint.git - rev: v3.3.3 + rev: v3.3.4 hooks: - id: pylint args: @@ -145,7 +145,7 @@ repos: additional_dependencies: - uv>=0.5.21 - repo: https://github.com/ansible/ansible-lint - rev: v25.1.0 + rev: v25.1.1 hooks: - id: ansible-lint stages: [manual] From 53f3f0a62c3d679871b91d168925fbdf116f3396 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:58:09 +0000 Subject: [PATCH 2/2] chore: auto fixes from pre-commit.com hooks --- tests/unit/model/v2/test_provisioner_section.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/model/v2/test_provisioner_section.py b/tests/unit/model/v2/test_provisioner_section.py index 42d83d03f..12169ae45 100644 --- a/tests/unit/model/v2/test_provisioner_section.py +++ b/tests/unit/model/v2/test_provisioner_section.py @@ -89,7 +89,7 @@ def _model_provisioner_allows_ansible_section_data(): # type: ignore[no-untyped @pytest.mark.parametrize( "config", - [("_model_provisioner_allows_ansible_section_data")], # noqa: PT007 + ["_model_provisioner_allows_ansible_section_data"], # noqa: PT007 indirect=True, ) def test_provisioner_allows_name(config): # type: ignore[no-untyped-def] # noqa: ANN201, D103