github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash darker --check --diff -r 867faeec054abb4c035673189c1169fef45f54c8...510fb37ba420a83d14233e4c835847e03879f674 lldb/examples/python/templates/scripted_platform.py lldb/test/API/functionalities/scripted_platform/my_scripted_platform.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- examples/python/templates/scripted_platform.py 2024-07-21 16:56:25.000000 +0000 +++ examples/python/templates/scripted_platform.py 2024-07-21 17:00:28.637286 +0000 @@ -59,18 +59,18 @@ """ pass @abstractmethod def attach_to_process(self, attach_info, target, debugger, error): - """ Attach to a process. - + """Attach to a process. + Args: attach_info (lldb.SBAttachInfo): The information related to attach to a process. target (lldb.SBTarget): The optional target that we are trying to attach to. debugger (lldb.SBDebugger): The debugger instance. error (lldb.SBError): A status object notifying if the attach succeeded. - + Returns: lldb.SBProcess: The process that the platform attached to, or None. """ pass --- test/API/functionalities/scripted_platform/my_scripted_platform.py 2024-07-21 16:56:25.000000 +0000 +++ test/API/functionalities/scripted_platform/my_scripted_platform.py 2024-07-21 17:00:28.664912 +0000 @@ -17,11 +17,11 @@ proc["gid"] = 20 self.processes[420] = proc def list_processes(self): return self.processes - + def attach_to_process(self, attach_info, target, debugger, error): return None def get_process_info(self, pid): return self.processes[pid] `````````` </details> https://github.com/llvm/llvm-project/pull/99814 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits