From 9c1266f91767f532579d9e6b77c5b1d13d721a59 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 17:20:32 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.13 → v0.15.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.13...v0.15.14) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eaba65b0..0e8698f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: pass_filenames: false args: ["python"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.13 + rev: v0.15.14 hooks: # Run the linter. - id: ruff-check From 87bcd74a1777e86c0c81c8a83875998b339d2944 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 17:20:40 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/tests/test_value_converter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/tests/test_value_converter.py b/python/tests/test_value_converter.py index fdb44bf0..745c544a 100644 --- a/python/tests/test_value_converter.py +++ b/python/tests/test_value_converter.py @@ -659,9 +659,9 @@ async def test_char_internal_type_byte_spectrum( value = decoded[i] assert isinstance(value, str) assert len(value) == 1 - assert ( - ord(value) == b - ), f"byte 0x{b:02x} round-tripped to ord(value)=0x{ord(value):02x}" + assert ord(value) == b, ( + f"byte 0x{b:02x} round-tripped to ord(value)=0x{ord(value):02x}" + ) assert decoded[len(bytes_under_test)] is None