From 3ed84187fd2591fcfca553719e253fb371ae9b35 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:43:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- ipykernel/subshell_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipykernel/subshell_manager.py b/ipykernel/subshell_manager.py index 31e4dd1d..c245816b 100644 --- a/ipykernel/subshell_manager.py +++ b/ipykernel/subshell_manager.py @@ -67,7 +67,7 @@ def __init__( @property def _control_shell_channel_socket(self) -> zmq_anyio.Socket: - if self.__control_shell_channel_socket is None: + if self.__control_shell_channel_socket is None: self.__control_shell_channel_socket = self._create_inproc_pair_socket("control", True) return self.__control_shell_channel_socket @@ -75,7 +75,7 @@ def _control_shell_channel_socket(self) -> zmq_anyio.Socket: def _control_other_socket(self) -> zmq_anyio.Socket: if self.__control_other_socket is None: self.__control_other_socket = self._create_inproc_pair_socket("control", False) - return self.__control_other_socket + return self.__control_other_socket @property def _parent_shell_channel_socket(self) -> zmq_anyio.Socket: