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
c71418574f1bb9e4678428901775c8b633cded09...35035cd4b8bfdbe2a0d196be7b4aa74a144f160c
lldb/test/API/tools/lldb-dap/server/TestDAP_server.py
lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test/API/tools/lldb-dap/server/TestDAP_server.py 2024-11-26
22:01:42.000000 +0000
+++ test/API/tools/lldb-dap/server/TestDAP_server.py 2024-11-26
22:04:43.964689 +0000
@@ -62,9 +62,11 @@
"""
Test launching a binary with a lldb-dap in server mode on a unix
socket.
"""
dir = tempfile.gettempdir()
name = dir + "/dap-connection-" + str(os.getpid())
+
def cleanup():
os.unlink(name)
+
self.addTearDownHook(cleanup)
self.do_test_server(connection="unix://" + name)
``````````
</details>
https://github.com/llvm/llvm-project/pull/116392
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits