Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/superqt/utils/_qthreading.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading