From 60cdba38c60953e97860fe2ce7479e14c39068b3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 22:16:20 +0000 Subject: [PATCH 1/2] ci: [pre-commit.ci] 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.12 → v0.16.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.16.1) - [github.com/adhtruong/mirrors-typos: v1.46.0 → v1.48.0](https://github.com/adhtruong/mirrors-typos/compare/v1.46.0...v1.48.0) - [github.com/pre-commit/mirrors-mypy: v1.20.2 → v2.3.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.20.2...v2.3.0) --- .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 6349c293..72e67c2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.12 + rev: v0.16.1 hooks: - id: ruff-check args: [--fix, --unsafe-fixes] @@ -18,7 +18,7 @@ repos: args: ["-ignore", 'label ".+" is unknown'] - repo: https://github.com/adhtruong/mirrors-typos - rev: v1.46.0 + rev: v1.48.0 hooks: - id: typos args: [--force-exclude] # omitting --write-changes @@ -29,7 +29,7 @@ repos: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.20.2 + rev: v2.3.0 hooks: - id: mypy exclude: tests|examples From 8216f650dc0eb60cb89864b102ee225a9f8e0747 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 22:19:38 +0000 Subject: [PATCH 2/2] style: [pre-commit.ci] auto fixes [...] --- src/superqt/utils/_qthreading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/superqt/utils/_qthreading.py b/src/superqt/utils/_qthreading.py index c049aacb..464b23f9 100644 --- a/src/superqt/utils/_qthreading.py +++ b/src/superqt/utils/_qthreading.py @@ -411,7 +411,7 @@ def __init__( self._pause_interval = 0.01 self.pbar = None - def work(self) -> _R | None | Exception: + def work(self) -> _R | Exception | None: """Core event loop that calls the original function. Enters a continual loop, yielding and returning from the original