From 4e4ad5030fcc2e44d30163be3adc4770780c0c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Borgna?= Date: Fri, 22 Aug 2025 17:21:20 +0100 Subject: [PATCH 1/2] chore: Fix mypy error on release-check --- tket-py/tket/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tket-py/tket/extensions/__init__.py b/tket-py/tket/extensions/__init__.py index 2016afc4..fc089c00 100644 --- a/tket-py/tket/extensions/__init__.py +++ b/tket-py/tket/extensions/__init__.py @@ -14,7 +14,7 @@ # TODO: Remove once tket no longer supports tket-exts 0.10.* try: - from tket_exts import bool + from tket_exts import bool # type: ignore[attr-defined] except ImportError: bool = opaque_bool # type: ignore[assignment] From 34daef39db5777d57faca48836c87e3baa6b8fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Borgna?= Date: Fri, 22 Aug 2025 17:25:54 +0100 Subject: [PATCH 2/2] Only run tests for tket-py --- .github/workflows/release-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-checks.yml b/.github/workflows/release-checks.yml index 3f974db1..52d0d49b 100644 --- a/.github/workflows/release-checks.yml +++ b/.github/workflows/release-checks.yml @@ -53,4 +53,4 @@ jobs: - name: Lint with ruff run: uv run --no-sync ruff check tket-py - name: Run python tests - run: uv run --no-sync pytest + run: uv run --no-sync pytest tket-py