Skip to content

Commit d0c9d20

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

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ipykernel/inprocess/ipkernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class InProcessKernel(IPythonKernel):
5656

5757
@default("iopub_thread")
5858
def _default_iopub_thread(self):
59-
thread = IOPubThread(self._underlying_iopub_socket, session = self.session)
59+
thread = IOPubThread(self._underlying_iopub_socket, session=self.session)
6060
thread.start()
6161
return thread
6262

ipykernel/iostream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def __init__(
518518
DeprecationWarning,
519519
stacklevel=2,
520520
)
521-
pub_thread = IOPubThread(pub_thread, session = self.session)
521+
pub_thread = IOPubThread(pub_thread, session=self.session)
522522
pub_thread.start()
523523
self.pub_thread = pub_thread
524524
self.name = name

ipykernel/kernelapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def init_iopub(self, context):
382382
self.iopub_port = self._bind_socket(self.iopub_socket, self.iopub_port)
383383
self.log.debug("iopub PUB Channel on port: %i", self.iopub_port)
384384
self.configure_tornado_logger()
385-
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True, session = self.session)
385+
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True, session=self.session)
386386
self.iopub_thread.start()
387387
# backward-compat: wrap iopub socket API in background thread
388388
self.iopub_socket = self.iopub_thread.background_socket

0 commit comments

Comments
 (0)