From d4b903f35bec98517d8278706ea1811baa4c761c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:46:14 +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/rbubley/mirrors-prettier: v3.5.1 → v3.5.3](https://github.com/rbubley/mirrors-prettier/compare/v3.5.1...v3.5.3) - [github.com/streetsidesoftware/cspell-cli: v8.17.2 → v8.17.3](https://github.com/streetsidesoftware/cspell-cli/compare/v8.17.2...v8.17.3) - [github.com/python-jsonschema/check-jsonschema: 0.31.1 → 0.31.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.1...0.31.2) - [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.6...v0.9.9) - [github.com/RobertCraigie/pyright-python: v1.1.394 → v1.1.396](https://github.com/RobertCraigie/pyright-python/compare/v1.1.394...v1.1.396) --- .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 d0648703fe..e4773990bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/rbubley/mirrors-prettier # keep it before yamllint - rev: v3.5.1 + rev: v3.5.3 hooks: - id: prettier # Temporary excludes so we can gradually normalize the formatting @@ -60,14 +60,14 @@ repos: - prettier@3.2.4 - prettier-plugin-sort-json@3.1.0 - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.17.2 + rev: v8.17.3 hooks: - id: cspell # entry: codespell --relative args: [--relative, --no-progress, --no-summary] name: Spell check with cspell - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.31.1 + rev: 0.31.2 hooks: - id: check-github-workflows - repo: https://github.com/pre-commit/pre-commit-hooks.git @@ -144,7 +144,7 @@ repos: - id: tox-ini-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.6 + rev: v0.9.9 hooks: - id: ruff args: @@ -185,7 +185,7 @@ repos: plugins/.* )$ - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.394 + rev: v1.1.396 hooks: - id: pyright additional_dependencies: From 774527d062bd135e259b664c9354cca046513d3a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:48:40 +0000 Subject: [PATCH 2/2] chore: auto fixes from pre-commit.com hooks --- src/ansiblelint/yaml_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansiblelint/yaml_utils.py b/src/ansiblelint/yaml_utils.py index 0370782fe5..0927dc2a41 100644 --- a/src/ansiblelint/yaml_utils.py +++ b/src/ansiblelint/yaml_utils.py @@ -519,7 +519,7 @@ def represent_octal(representer: RoundTripRepresenter, data: OctalIntYAML11) -> return representer.insert_underscore( "0", v, - data._underscore, # noqa: SLF001 + data._underscore, anchor=anchor, )