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/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.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
--- lldbdap_testcase.py 2026-02-14 13:07:51.000000 +0000
+++ lldbdap_testcase.py 2026-02-15 11:00:58.220420 +0000
@@ -366,11 +366,14 @@
         response = self.dap_server.request_setVariable(varRef, name, 
str(value), id=id)
         if response["success"]:
             invalidated_event = self.dap_server.wait_for_invalidated()
             self.assertEqual(invalidated_event["body"].get("areas"), 
["variables"])
             memory_event = self.dap_server.wait_for_memory()
-            self.assertEqual(memory_event["body"].get("memoryReference"), 
response["body"].get("memoryReference"))
+            self.assertEqual(
+                memory_event["body"].get("memoryReference"),
+                response["body"].get("memoryReference"),
+            )
         return response
 
     def set_local(self, name, value, id=None):
         """Set a top level local variable only."""
         # Get the locals scope reference dynamically

``````````

</details>


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

Reply via email to