--- a/src/eric7/DebugClients/Python/DebugClientBase.py Mon Feb 24 15:11:18 2025 +0100 +++ b/src/eric7/DebugClients/Python/DebugClientBase.py Mon Feb 24 15:43:49 2025 +0100 @@ -144,10 +144,10 @@ # Python types "list": "[]", "tuple": "()", - "dict": "{:}", # __IGNORE_WARNING_M613__ - "set": "{}", # __IGNORE_WARNING_M613__ - "frozenset": "{}", # __IGNORE_WARNING_M613__ - "numpy.ndarray": "[ndarray]", # __IGNORE_WARNING_M613__ + "dict": "{:}", # __IGNORE_WARNING_M-613__ + "set": "{}", # __IGNORE_WARNING_M-613__ + "frozenset": "{}", # __IGNORE_WARNING_M-613__ + "numpy.ndarray": "[ndarray]", # __IGNORE_WARNING_M-613__ "collections.abc.ItemsView": "[]", "collections.abc.KeysView": "[]", "collections.abc.ValuesView": "[]", @@ -350,7 +350,7 @@ @param jsonStr string containing the command received from the IDE @type str """ - ## printerr(jsonStr) ## debug # noqa: M891 + ## printerr(jsonStr) ## debug # noqa: M-891 try: commandDict = json.loads(jsonStr.strip()) @@ -550,7 +550,7 @@ ) elif method == "RequestCoverage": - from coverage import Coverage # __IGNORE_WARNING_I10__ + from coverage import Coverage # __IGNORE_WARNING_I-10__ self.disassembly = None sys.argv = [] @@ -596,7 +596,7 @@ elif method == "RequestProfile": sys.setprofile(None) - import PyProfile # __IGNORE_WARNING_I10__ + import PyProfile # __IGNORE_WARNING_I-10__ self.disassembly = None sys.argv = [] @@ -1811,7 +1811,7 @@ tracePython=False, redirect=True, passive=True, - multiprocessSupport=False, # noqa: U100 + multiprocessSupport=False, # noqa: U-100 ): """ Public method used to start the remote debugger. @@ -2113,10 +2113,10 @@ del args[0] if not args: print("No program given. Aborting!") - # __IGNORE_WARNING_M801__ + # __IGNORE_WARNING_M-801__ elif "-m" in args: print("Running module as a script is not supported. Aborting!") - # __IGNORE_WARNING_M801__ + # __IGNORE_WARNING_M-801__ else: # Store options in case a new Python process is created self.startOptions = ( @@ -2184,7 +2184,7 @@ else: remoteAddress = self.__resolveHost(ipOrHost) if remoteAddress is None: - print(f"Remote host '{ipOrHost}' could not be resolved.") # noqa: M801 + print(f"Remote host '{ipOrHost}' could not be resolved.") # noqa: M-801 sys.exit(1) sys.argv = [""] @@ -2208,7 +2208,7 @@ self.connectDebugger(port, remoteAddress, redirect) self.__interact() else: - print("No network port given. Aborting...") # noqa: M801 + print("No network port given. Aborting...") # noqa: M-801 sys.exit(2) def close(self, fd):