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/test/API/iohandler/autosuggestion/TestAutosuggestion.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
--- TestAutosuggestion.py 2026-07-10 09:50:29.000000 +0000
+++ TestAutosuggestion.py 2026-07-10 09:51:58.838205 +0000
@@ -194,11 +194,13 @@
)
self.child.expect_exact(
cursor_horizontal_abs("(lldb) he")
+ "l"
+ self.ANSI_FAINT
- + "p (" + help_description + ")"
+ + "p ("
+ + help_description
+ + ")"
+ self.ANSI_RESET
)
# Applying the suggestion with Ctrl-F should leave the line as 'help'
# (not 'help frame', and without the parenthesized description).
Running
@@ -215,13 +217,11 @@
self.ANSI_FAINT + "p (" + help_description + ")" + self.ANSI_RESET
)
self.child.send("\t")
# The whole line is cleared (\r + erase-to-end-of-line) and redrawn as
# 'help ', so no part of the description is left on screen.
- self.child.expect_exact(
- "\r" + self.ANSI_CLEAR_RIGHT + "(lldb) help "
- )
+ self.child.expect_exact("\r" + self.ANSI_CLEAR_RIGHT + "(lldb) help ")
self.child.send("\n")
self.child.expect_exact("Debugger commands:")
@skipIfAsan
@skipIfEditlineSupportMissing
``````````
</details>
https://github.com/llvm/llvm-project/pull/208677
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits