Skip to content

Commit 692bc30

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7d05cfb commit 692bc30

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

jupyter_client/manager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,9 @@ def _close_control_socket(self) -> None:
324324
self._control_socket.close()
325325
self._control_socket = None
326326

327-
async def _async_pre_start_kernel(self, **kw: t.Any) -> t.Tuple[t.List[str], t.Dict[str, t.Any]]:
327+
async def _async_pre_start_kernel(
328+
self, **kw: t.Any
329+
) -> t.Tuple[t.List[str], t.Dict[str, t.Any]]:
328330
"""Prepares a kernel for startup in a separate process.
329331
330332
If random ports (port=0) are being used, this method must be called

jupyter_client/multikernelmanager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ def _using_pending_kernels(self):
192192
"""
193193
return getattr(self, 'use_pending_kernels', False)
194194

195-
async def _async_start_kernel(self, kernel_name: t.Optional[str] = None, **kwargs: t.Any) -> str:
195+
async def _async_start_kernel(
196+
self, kernel_name: t.Optional[str] = None, **kwargs: t.Any
197+
) -> str:
196198
"""Start a new kernel.
197199
198200
The caller can pick a kernel_id by passing one in as a keyword arg,

0 commit comments

Comments
 (0)