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: 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, )