From 429ebbac13bcd375938247aa8a2a6eb031d79ab3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 19:29:24 +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.20 → v0.16.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.20...v0.16.5) --- .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 cd2c41e0..34426d09 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: mixed-line-ending args: ["-f=lf"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.20" + rev: "v0.16.5" hooks: - id: ruff-check args: ["--fix"] From e4bd1dafc0e28d62b518e0546d06787ed7d9866b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 19:29:41 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pytest-embedded-wokwi/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pytest-embedded-wokwi/README.md b/pytest-embedded-wokwi/README.md index 540f01ee..0f504c69 100644 --- a/pytest-embedded-wokwi/README.md +++ b/pytest-embedded-wokwi/README.md @@ -62,13 +62,13 @@ from pytest_embedded import Dut def test_gpio(dut: Dut, wokwi: Wokwi): LOGGER = logging.getLogger(__name__) - LOGGER.info("Waiting for Button test begin...") - dut.expect_exact("Butston test") + LOGGER.info('Waiting for Button test begin...') + dut.expect_exact('Butston test') for i in range(3): - LOGGER.info(f"Setting button pressed for {i + 1} seconds") - wokwi.client.set_control("btn1", "pressed", 1) + LOGGER.info(f'Setting button pressed for {i + 1} seconds') + wokwi.client.set_control('btn1', 'pressed', 1) - dut.expect_exact(f"Button pressed {i + 1} times") - wokwi.client.set_control("btn1", "pressed", 0) + dut.expect_exact(f'Button pressed {i + 1} times') + wokwi.client.set_control('btn1', 'pressed', 0) ```