[Lldb-commits] [lldb] [LLDB-DAP] SBDebugger don't prefix title on progress updates (PR #124648)

via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 20 14:52:03 PST 2025


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 5ecce45ea2980aff35d1283d4dd3feb8f74de16c...02dcf893c3b777acc3b5989c421fda0df3596bba lldb/test/API/tools/lldb-dap/progress/Progress_emitter.py lldb/test/API/tools/lldb-dap/progress/TestDAP_Progress.py
``````````

</details>

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

``````````diff
--- Progress_emitter.py	2025-02-20 22:47:09.000000 +0000
+++ Progress_emitter.py	2025-02-20 22:51:29.744012 +0000
@@ -83,11 +83,13 @@
         if total is None:
             progress = lldb.SBProgress(
                 "Progress tester", "Initial Indeterminate Detail", debugger
             )
         else:
-            progress = lldb.SBProgress("Progress tester", "Initial Detail", total, debugger)
+            progress = lldb.SBProgress(
+                "Progress tester", "Initial Detail", total, debugger
+            )
 
         # Check to see if total is set to None to indicate an indeterminate progress
         # then default to 10 steps.
         if total is None:
             total = 10

``````````

</details>


https://github.com/llvm/llvm-project/pull/124648


More information about the lldb-commits mailing list