@@ -552,7 +552,9 @@ async def start(self, *, task_status: TaskStatus = TASK_STATUS_IGNORED) -> None:
552552 # Assign tasks to and start shell channel thread.
553553 manager = self .shell_channel_thread .manager
554554 self .shell_channel_thread .add_task (self .shell_channel_thread_main )
555- self .shell_channel_thread .add_task (manager .listen_from_control , self .shell_main , self .shell_channel_thread )
555+ self .shell_channel_thread .add_task (
556+ manager .listen_from_control , self .shell_main , self .shell_channel_thread
557+ )
556558 self .shell_channel_thread .add_task (manager .listen_from_subshells )
557559 self .shell_channel_thread .start ()
558560 else :
@@ -1082,7 +1084,9 @@ async def create_subshell_request(self, socket, ident, parent) -> None:
10821084
10831085 # This should only be called in the control thread if it exists.
10841086 # Request is passed to shell channel thread to process.
1085- other_socket = await self .shell_channel_thread .manager .get_control_other_socket (self .control_thread .get_task_group ())
1087+ other_socket = await self .shell_channel_thread .manager .get_control_other_socket (
1088+ self .control_thread .get_task_group ()
1089+ )
10861090 await other_socket .asend_json ({"type" : "create" })
10871091 reply = await other_socket .arecv_json ()
10881092
@@ -1104,7 +1108,9 @@ async def delete_subshell_request(self, socket, ident, parent) -> None:
11041108
11051109 # This should only be called in the control thread if it exists.
11061110 # Request is passed to shell channel thread to process.
1107- other_socket = await self .shell_channel_thread .manager .get_control_other_socket (self .control_thread .get_task_group ())
1111+ other_socket = await self .shell_channel_thread .manager .get_control_other_socket (
1112+ self .control_thread .get_task_group ()
1113+ )
11081114 await other_socket .asend_json ({"type" : "delete" , "subshell_id" : subshell_id })
11091115 reply = await other_socket .arecv_json ()
11101116
@@ -1119,7 +1125,9 @@ async def list_subshell_request(self, socket, ident, parent) -> None:
11191125
11201126 # This should only be called in the control thread if it exists.
11211127 # Request is passed to shell channel thread to process.
1122- other_socket = await self .shell_channel_thread .manager .get_control_other_socket (self .control_thread .get_task_group ())
1128+ other_socket = await self .shell_channel_thread .manager .get_control_other_socket (
1129+ self .control_thread .get_task_group ()
1130+ )
11231131 await other_socket .asend_json ({"type" : "list" })
11241132 reply = await other_socket .arecv_json ()
11251133
0 commit comments