From a839abffbbec843b9585e3f9186e7fcbba0a807c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 21:28:50 +0000 Subject: [PATCH 1/2] chore(pre-commit.ci): pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/commitizen-tools/commitizen: v4.11.2 → v4.13.7](https://github.com/commitizen-tools/commitizen/compare/v4.11.2...v4.13.7) - [github.com/astral-sh/ruff-pre-commit: v0.14.11 → v0.15.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.11...v0.15.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7a0fe379..a1a2f7b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: repos: - repo: https://github.com/commitizen-tools/commitizen - rev: v4.11.2 + rev: v4.13.7 hooks: - id: commitizen stages: [commit-msg] @@ -38,7 +38,7 @@ repos: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.11 + rev: v0.15.0 hooks: - id: ruff args: [--fix] From 36f1adf11c9d40e48f5709c64035d538ea9ad92a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 21:29:06 +0000 Subject: [PATCH 2/2] chore(pre-commit.ci): auto fixes --- examples/mockdevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mockdevice.py b/examples/mockdevice.py index 2ff184bf..80be803c 100644 --- a/examples/mockdevice.py +++ b/examples/mockdevice.py @@ -103,7 +103,7 @@ def connection_made(self, transport: asyncio.Transport) -> None: self.peername = transport.get_extra_info("peername") self.transport = transport - def send(self, data: bytes, random_byte: Optional[None]) -> None: + def send(self, data: bytes, random_byte: None) -> None: """Trigger on data.""" if random_byte is not None: msg = self.construct_wrapped_message(data, random_byte)