File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2222 - id : trailing-whitespace
2323
2424 - repo : https://github.com/python-jsonschema/check-jsonschema
25- rev : 0.31.1
25+ rev : 0.31.2
2626 hooks :
2727 - id : check-github-workflows
2828
7474 - id : rst-inline-touching-normal
7575
7676 - repo : https://github.com/astral-sh/ruff-pre-commit
77- rev : v0.2.0
77+ rev : v0.9.7
7878 hooks :
7979 - id : ruff
8080 types_or : [python, jupyter]
8383 types_or : [python, jupyter]
8484
8585 - repo : https://github.com/scientific-python/cookie
86- rev : " 2024 .01.24 "
86+ rev : " 2025 .01.22 "
8787 hooks :
8888 - id : sp-repo-review
8989 additional_dependencies : ["repo-review[cli]"]
Original file line number Diff line number Diff line change 11"""
22store the current version info of the server.
33"""
4+
45from __future__ import annotations
56
67import re
Original file line number Diff line number Diff line change 1111# Imports
1212# -----------------------------------------------------------------------------
1313
14-
1514from typing import Any , Optional
1615
1716from jupyter_client .client import KernelClient
Original file line number Diff line number Diff line change @@ -763,9 +763,9 @@ def run_closure(self: threading.Thread):
763763 for stream in [stdout , stderr ]:
764764 if isinstance (stream , OutStream ):
765765 if parent == kernel_thread_ident :
766- stream ._thread_to_parent_header [
767- self . ident
768- ] = kernel . _new_threads_parent_header
766+ stream ._thread_to_parent_header [self . ident ] = (
767+ kernel . _new_threads_parent_header
768+ )
769769 else :
770770 stream ._thread_to_parent [self .ident ] = parent
771771 _threading_Thread_run (self )
You can’t perform that action at this time.
0 commit comments