Skip to content

Commit 4cc832e

Browse files
authored
Fix types lints (ipython#1321)
1 parent e64fb2e commit 4cc832e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipykernel/subshell_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ async def listen_from_control(self, subshell_task: t.Any) -> None:
124124

125125
socket = self._control_shell_channel_socket
126126
while True:
127-
request = await socket.recv_json() # type: ignore[misc]
127+
request = await socket.recv_json()
128128
reply = await self._process_control_request(request, subshell_task)
129-
await socket.send_json(reply) # type: ignore[func-returns-value]
129+
await socket.send_json(reply)
130130

131131
async def listen_from_subshells(self) -> None:
132132
"""Listen for reply messages on inproc sockets of all subshells and resend

0 commit comments

Comments
 (0)