From 13286f5f82f863cf20412d6a013b0c536a33da37 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 18:11:05 +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.14.10 → v0.14.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.14.14) - [github.com/kynan/nbstripout: 0.8.2 → 0.9.0](https://github.com/kynan/nbstripout/compare/0.8.2...0.9.0) - [github.com/crate-ci/typos: v1.40.1 → v1](https://github.com/crate-ci/typos/compare/v1.40.1...v1) --- .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 17908d9..ceee0ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,12 +26,12 @@ repos: - id: python-use-type-annotations - id: text-unicode-replacement-char - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.10 + rev: v0.14.14 hooks: - id: ruff-check - id: ruff-format - repo: https://github.com/kynan/nbstripout - rev: 0.8.2 + rev: 0.9.0 hooks: - id: nbstripout - repo: https://github.com/executablebooks/mdformat @@ -56,7 +56,7 @@ repos: args: [--wrap, "88"] files: (README\.md) - repo: https://github.com/crate-ci/typos - rev: v1.40.1 + rev: v1 hooks: - id: typos - repo: meta From 4c601ce7455316e2f7ebcb7461c398fd3cdeccd7 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sat, 31 Jan 2026 20:11:01 +0100 Subject: [PATCH 2/2] Fix ty check and pin Sphinx for docs --- pyproject.toml | 2 +- src/pytask_parallel/wrappers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8520904..d010638 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ docs = [ "matplotlib", "myst-parser", "nbsphinx", - "sphinx", + "sphinx<9", "sphinx-autobuild", "sphinx-click", "sphinx-copybutton", diff --git a/src/pytask_parallel/wrappers.py b/src/pytask_parallel/wrappers.py index e663e8a..e26deba 100644 --- a/src/pytask_parallel/wrappers.py +++ b/src/pytask_parallel/wrappers.py @@ -217,7 +217,7 @@ def _render_traceback_to_string( traceback = Traceback(exc_info, show_locals=show_locals) segments = console.render(cast("Any", traceback), options=console_options) text = "".join(segment.text for segment in segments) - return (*exc_info[:2], text) # ty: ignore[invalid-return-type] + return (*exc_info[:2], text) def _handle_function_products(