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 
f582cd3dc70fa8c9519f74f16ab0a33ad663038e...48c51370545165095867c480ddf8b7fdbb312630
 lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
``````````

</details>

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

``````````diff
--- TestInlineStepping.py       2024-10-31 00:52:33.000000 +0000
+++ TestInlineStepping.py       2024-10-31 00:58:17.241211 +0000
@@ -362,11 +362,13 @@
         self.thread = threads[0]
 
         step_sequence = [["// In max_value specialized", "into"]]
         self.run_step_sequence(step_sequence)
 
-    def run_to_call_site_and_step(self, source_regex, func_name, start_pos, 
one_more_step_loc = None):
+    def run_to_call_site_and_step(
+        self, source_regex, func_name, start_pos, one_more_step_loc=None
+    ):
         main_spec = lldb.SBFileSpec("calling.cpp")
         # Set the breakpoint by file and line, not sourced regex because
         # we want to make sure we can set breakpoints on call sites:
         call_site_line_num = line_number(self.main_source, source_regex)
         target, process, thread, bkpt = lldbutil.run_to_line_breakpoint(
@@ -409,12 +411,15 @@
                 break
 
         if one_more_step_loc:
             thread.StepInto()
             frame_0 = thread.frame[0]
-            self.assertEqual(frame_0.line_entry.line, 
line_number(self.main_source, one_more_step_loc),
-                                                                  "Was able to 
step one more time")
+            self.assertEqual(
+                frame_0.line_entry.line,
+                line_number(self.main_source, one_more_step_loc),
+                "Was able to step one more time",
+            )
         process.Kill()
         target.Clear()
 
     def virtual_inline_stepping(self):
         """Use the Python API's to step through a virtual inlined stack"""
@@ -424,8 +429,10 @@
         )
         self.run_to_call_site_and_step(
             "In caller_trivial_inline_2", "caller_trivial_inline_2", 3
         )
         self.run_to_call_site_and_step(
-            "In caller_trivial_inline_3", "caller_trivial_inline_3", 4, "After 
caller_trivial_inline_3"
-        )
-        
+            "In caller_trivial_inline_3",
+            "caller_trivial_inline_3",
+            4,
+            "After caller_trivial_inline_3",
+        )

``````````

</details>


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

Reply via email to