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/Shell/helper/toolchain.py 
lldb/test/Shell/lit.cfg.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
--- helper/toolchain.py 2026-07-14 20:47:11.000000 +0000
+++ helper/toolchain.py 2026-07-14 20:48:28.808060 +0000
@@ -47,14 +47,14 @@
     lldb_args += ["--no-lldbinit", "-S", _get_lldb_init_path(config)]
     return lldb_args
 
 
 class ShTestLldb(ShTest):
-    def __init__(
-        self, extra_substitutions=[], preamble_commands=[]
-    ):
-        super().__init__(extra_substitutions=extra_substitutions, 
premable_commands=preamble_commands)
+    def __init__(self, extra_substitutions=[], preamble_commands=[]):
+        super().__init__(
+            extra_substitutions=extra_substitutions, 
premable_commands=preamble_commands
+        )
 
     def execute(self, test, litConfig):
         exec_path = test.getExecPath()
         if platform.system() == "Windows" and len(exec_path) > 256:
             litConfig.warning(

``````````

</details>


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

Reply via email to