Skip to content

Commit 4c601ce

Browse files
committed
Fix ty check and pin Sphinx for docs
1 parent 13286f5 commit 4c601ce

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ docs = [
3333
"matplotlib",
3434
"myst-parser",
3535
"nbsphinx",
36-
"sphinx",
36+
"sphinx<9",
3737
"sphinx-autobuild",
3838
"sphinx-click",
3939
"sphinx-copybutton",

src/pytask_parallel/wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def _render_traceback_to_string(
217217
traceback = Traceback(exc_info, show_locals=show_locals)
218218
segments = console.render(cast("Any", traceback), options=console_options)
219219
text = "".join(segment.text for segment in segments)
220-
return (*exc_info[:2], text) # ty: ignore[invalid-return-type]
220+
return (*exc_info[:2], text)
221221

222222

223223
def _handle_function_products(

0 commit comments

Comments
 (0)