Skip to content

Commit 467d338

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 28f9cb5 commit 467d338

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ipykernel/_version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
store the current version info of the server.
33
"""
4+
45
from __future__ import annotations
56

67
import re

ipykernel/ipkernel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -752,9 +752,9 @@ def run_closure(self: threading.Thread):
752752
for stream in [stdout, stderr]:
753753
if isinstance(stream, OutStream):
754754
if parent == kernel_thread_ident:
755-
stream._thread_to_parent_header[
756-
self.ident
757-
] = kernel._new_threads_parent_header
755+
stream._thread_to_parent_header[self.ident] = (
756+
kernel._new_threads_parent_header
757+
)
758758
else:
759759
stream._thread_to_parent[self.ident] = parent
760760
_threading_Thread_run(self)

0 commit comments

Comments
 (0)