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/functionalities/statusline/TestStatusline.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
--- TestStatusline.py   2026-06-09 15:13:39.000000 +0000
+++ TestStatusline.py   2026-06-09 15:29:28.895626 +0000
@@ -132,12 +132,12 @@
         class Tee:
             def __init__(self):
                 self.data = b""
 
             def write(self, s):
-                self.data += s if isinstance(s, bytes) else s.encode(
-                    "latin-1", "replace"
+                self.data += (
+                    s if isinstance(s, bytes) else s.encode("latin-1", 
"replace")
                 )
                 return len(s)
 
             def flush(self):
                 pass

``````````

</details>


https://github.com/llvm/llvm-project/pull/202691
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to