From 0c3e245728a22aec6490e324e9e16fdad70e99b7 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 11 Sep 2025 13:22:02 +0200 Subject: [PATCH 1/2] [chore] pre-commit autoupdate --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 From 393a27d610da263b1040cbcc5f2703c5d283332a Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 11 Sep 2025 13:24:41 +0200 Subject: [PATCH 2/2] [chore] lint files --- src/util/convert_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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