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 clang/test/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
--- lit.cfg.py  2025-09-07 18:52:27.000000 +0000
+++ lit.cfg.py  2025-09-07 19:04:20.509474 +0000
@@ -190,13 +190,11 @@
     config.available_features.add('host-supports-jit')
 
     if have_host_clang_repl_cuda():
         config.available_features.add('host-supports-cuda')
     hosttriple = run_clang_repl("--host-jit-triple")
-    config.substitutions.append(
-        ("%host-jit-triple",  hosttriple.strip())
-    )
+    config.substitutions.append(("%host-jit-triple", hosttriple.strip()))
 
     if have_host_out_of_process_jit_feature_support():
         config.available_features.add("host-supports-out-of-process-jit")
 
 if config.clang_staticanalyzer:

``````````

</details>


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

Reply via email to