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 origin/main...HEAD 
lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py 
lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- test/API/tools/lldb-dap/attach/TestDAP_attach.py    2026-01-14 
11:34:57.000000 +0000
+++ test/API/tools/lldb-dap/attach/TestDAP_attach.py    2026-01-14 
11:45:26.392200 +0000
@@ -103,11 +103,12 @@
 
         # Test with only targetId specified (no debuggerId)
         session = {"targetId": 99999}
         resp = self.attach(session=session, waitForResponse=True)
         self.assertFalse(resp["success"])
-        self.assertIn("missing value at arguments.session.debuggerId", 
+        self.assertIn(
+            "missing value at arguments.session.debuggerId",
             resp["body"]["error"]["format"],
         )
 
     def test_attach_with_invalid_session(self):
         """

``````````

</details>


https://github.com/llvm/llvm-project/pull/175930
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to