Skip to content

Commit d9c597f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 32a5c2a commit d9c597f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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/inprocess/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# Imports
1212
# -----------------------------------------------------------------------------
1313

14-
1514
from typing import Any, Optional
1615

1716
from jupyter_client.client import KernelClient

ipykernel/ipkernel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)