src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
diff -r dee6e106b4d3 -r 15e30f0c76a8 src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py
--- a/src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py	Mon Feb 24 15:11:18 2025 +0100
+++ b/src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py	Mon Feb 24 15:43:49 2025 +0100
@@ -86,7 +86,7 @@
         self.__socket.listen()
         self.__socket.setblocking(False)
         address = self.__socket.getsockname()
-        print(  # noqa: M801
+        print(  # noqa: M-801
             f"Listening for 'Debug Client' connections on"
             f" {address[0]}, port {address[1]}"
         )
@@ -110,7 +110,7 @@
         """
         connection, address = sock.accept()  # Should be ready to read
         print(f"'Debug Client' connection from {address[0]}, port {address[1]}")
-        # noqa: M801
+        # noqa: M-801
         connection.setblocking(False)
         self.__pendingConnections.append(connection)
 
@@ -180,7 +180,7 @@
 
         with contextlib.suppress(OSError):
             address = sock.getpeername()
-            print(  # noqa: M801
+            print(  # noqa: M-801
                 f"'Debug Client' connection from {address[0]}, port {address[1]}"
                 f" closed."
             )
@@ -345,7 +345,7 @@
         except (OSError, ValueError, subprocess.SubprocessError) as err:
             self.sendError(request="StartClientError", errorMessage=str(err))
 
-    def __stopClient(self, params):  # noqa: U100
+    def __stopClient(self, params):  # noqa: U-100
         """
         Private method to stop the current debug client process.
 
@@ -377,7 +377,7 @@
             for sock in self.__connections.values():
                 self._server.sendJsonCommand(jsonStr, sock)
         else:
-            try:  # noqa: Y105
+            try:  # noqa: Y-105
                 sock = self.__connections[debuggerId]
                 self._server.sendJsonCommand(jsonStr, sock)
             except KeyError:

eric ide

mercurial