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 
82ee31f75ac1316006fa9e21dddfddec37cf7072...b0fee0c0c32001064aeab1ebca209fef02c6cb98
 lldb/test/API/tools/lldb-dap/locations/TestDAP_locations.py 
lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
``````````

</details>

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

``````````diff
--- test/API/tools/lldb-dap/locations/TestDAP_locations.py      2024-08-16 
13:33:34.000000 +0000
+++ test/API/tools/lldb-dap/locations/TestDAP_locations.py      2024-08-16 
13:37:41.864335 +0000
@@ -44,11 +44,13 @@
         self.assertIn("valueLocationReference", locals["func_ptr"].keys())
         decl_loc_func_ptr = self.dap_server.request_locations(
             locals["func_ptr"]["declarationLocationReference"]
         )
         self.assertTrue(decl_loc_func_ptr["success"])
-        
self.assertTrue(decl_loc_func_ptr["body"]["source"]["path"].endswith("main.cpp"))
+        self.assertTrue(
+            decl_loc_func_ptr["body"]["source"]["path"].endswith("main.cpp")
+        )
         self.assertEqual(decl_loc_func_ptr["body"]["line"], 9)
         val_loc_func_ptr = self.dap_server.request_locations(
             locals["func_ptr"]["valueLocationReference"]
         )
         self.assertTrue(val_loc_func_ptr["success"])
@@ -60,11 +62,13 @@
         self.assertIn("valueLocationReference", locals["func_ref"].keys())
         decl_loc_func_ref = self.dap_server.request_locations(
             locals["func_ref"]["declarationLocationReference"]
         )
         self.assertTrue(decl_loc_func_ref["success"])
-        
self.assertTrue(decl_loc_func_ref["body"]["source"]["path"].endswith("main.cpp"))
+        self.assertTrue(
+            decl_loc_func_ref["body"]["source"]["path"].endswith("main.cpp")
+        )
         self.assertEqual(decl_loc_func_ref["body"]["line"], 10)
         val_loc_func_ref = self.dap_server.request_locations(
             locals["func_ref"]["valueLocationReference"]
         )
         self.assertTrue(val_loc_func_ref["success"])

``````````

</details>


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

Reply via email to