File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,12 @@ jobs:
2626 run : make check
2727
2828 tests-and-type-check :
29- runs-on : ubuntu-latest
3029 strategy :
3130 matrix :
31+ os : [ubuntu-latest, windows-latest, macos-latest]
3232 python-version : ["3.10", "3.11", "3.12", "3.13"]
3333 fail-fast : false
34+ runs-on : ${{ matrix.os }}
3435 defaults :
3536 run :
3637 shell : bash
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ def is_running_in_jupyter() -> bool:
153153 """Check if the interpreter is running in a Jupyter notebook"""
154154 try :
155155 shell = get_ipython ().__class__ .__name__ # type: ignore[name-defined]
156- return shell == "ZMQInteractiveShell"
156+ return shell == "ZMQInteractiveShell" # type: ignore[no-any-return]
157157 except NameError :
158158 return False
159159
@@ -178,7 +178,7 @@ def default_stream_processor(stream: Stream | ByteStream) -> None:
178178 if stream .type == "image" :
179179 if is_running_in_jupyter ():
180180 # Render the image in the Jupyter notebook output cell
181- from IPython .display import Image , display # type: ignore[unused-ignore]
181+ from IPython .display import Image , display # type: ignore[unused-ignore,import-not-found ]
182182
183183 display (Image (data = stream .data ))
184184 else :
You can’t perform that action at this time.
0 commit comments