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 
241fe83704476f81e3438e32b6d988ea123e624d...d8eb78e220b2127b78cee2868daddbe57ae2c5c8
 lldb/test/API/tools/lldb-dap/evaluate/TestDAP_evaluate.py 
lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
``````````

</details>

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

``````````diff
--- evaluate/TestDAP_evaluate.py        2024-01-11 01:20:44.000000 +0000
+++ evaluate/TestDAP_evaluate.py        2024-01-11 01:25:10.200646 +0000
@@ -69,14 +69,14 @@
         if self.isResultExpandedDescription():
             self.assertEvaluate(
                 "struct1",
                 r"\(my_struct\) (struct1|\$\d+) = \(foo = 15\)",
             )
-            self.assertEvaluate(
-                "struct2", r"\(my_struct \*\) (struct2|\$\d+) = 0x.*"
-            )
-            self.assertEvaluate("struct3", r"\(my_struct \*\) (struct3|\$\d+) 
= nullptr")
+            self.assertEvaluate("struct2", r"\(my_struct \*\) (struct2|\$\d+) 
= 0x.*")
+            self.assertEvaluate(
+                "struct3", r"\(my_struct \*\) (struct3|\$\d+) = nullptr"
+            )
         else:
             self.assertEvaluate(
                 "struct1",
                 re.escape("{foo:15}")
                 if enableAutoVariableSummaries
--- variables/TestDAP_variables.py      2024-01-11 01:20:44.000000 +0000
+++ variables/TestDAP_variables.py      2024-01-11 01:25:10.479224 +0000
@@ -555,11 +555,14 @@
 
         # Evaluate from known contexts.
         expr_varref_dict = {}
         for context, verify_dict in expandable_expression["context"].items():
             response = self.dap_server.request_evaluate(
-                expandable_expression["name"], frameIndex=0, threadId=None, 
context=context
+                expandable_expression["name"],
+                frameIndex=0,
+                threadId=None,
+                context=context,
             )
             self.verify_values(
                 verify_dict,
                 response["body"],
                 expr_varref_dict,

``````````

</details>


https://github.com/llvm/llvm-project/pull/77026
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to