diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b64b9c15..f688c7ed6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: files: '^src/\w+/(tests|0\.0\.0)/.*\.py$' - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.0 + rev: v0.13.0 hooks: - id: ruff name: Check code with Ruff, apply automatic fixes @@ -22,11 +22,11 @@ repos: - id: ruff-format name: Format code with Ruff - repo: https://github.com/crate-ci/typos - rev: v1.33.1 + rev: v1.36.2 hooks: - id: typos - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-xml - id: check-yaml diff --git a/src/util/convert_bootstrap.py b/src/util/convert_bootstrap.py index b00ecb61e..4a4099e8e 100644 --- a/src/util/convert_bootstrap.py +++ b/src/util/convert_bootstrap.py @@ -1146,7 +1146,7 @@ def convert_tree(tree, src_version, dst_version, **converter_kwargs): :return: the converted lxml tree. :rtype: etree.ElementTree """ - tree, ops_count = BootstrapConverter(tree, **converter_kwargs).convert(src_version, dst_version) + tree, _ops_count = BootstrapConverter(tree, **converter_kwargs).convert(src_version, dst_version) return tree