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 22
22
- id : trailing-whitespace
23
23
24
24
- repo : https://github.com/python-jsonschema/check-jsonschema
25
- rev : 0.31.1
25
+ rev : 0.31.2
26
26
hooks :
27
27
- id : check-github-workflows
28
28
74
74
- id : rst-inline-touching-normal
75
75
76
76
- repo : https://github.com/astral-sh/ruff-pre-commit
77
- rev : v0.2.0
77
+ rev : v0.9.7
78
78
hooks :
79
79
- id : ruff
80
80
types_or : [python, jupyter]
83
83
types_or : [python, jupyter]
84
84
85
85
- repo : https://github.com/scientific-python/cookie
86
- rev : " 2024 .01.24 "
86
+ rev : " 2025 .01.22 "
87
87
hooks :
88
88
- id : sp-repo-review
89
89
additional_dependencies : ["repo-review[cli]"]
Original file line number Diff line number Diff line change 1
1
"""
2
2
store the current version info of the server.
3
3
"""
4
+
4
5
from __future__ import annotations
5
6
6
7
import re
Original file line number Diff line number Diff line change 11
11
# Imports
12
12
# -----------------------------------------------------------------------------
13
13
14
-
15
14
from typing import Any , Optional
16
15
17
16
from 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):
763
763
for stream in [stdout , stderr ]:
764
764
if isinstance (stream , OutStream ):
765
765
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
+ )
769
769
else :
770
770
stream ._thread_to_parent [self .ident ] = parent
771
771
_threading_Thread_run (self )
You can’t perform that action at this time.
0 commit comments