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 libclc/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 2026-08-04 20:59:53.000000 +0000
+++ lit.cfg.py 2026-08-04 21:02:52.719231 +0000
@@ -87,11 +87,13 @@
)
run_cmd = f"{os.path.join(config.llvm_tools_dir, 'llvm-gpu-loader')}
--kernel test"
config.environment["LD_LIBRARY_PATH"] = os.pathsep.join(
[offload_libdir, config.environment.get("LD_LIBRARY_PATH", "")]
)
- config.substitutions.append(("%libclc-compile-and-run", f"{compile_cmd} &&
{run_cmd}"))
+ config.substitutions.append(
+ ("%libclc-compile-and-run", f"{compile_cmd} && {run_cmd}")
+ )
config.substitutions.append(("%libclc-compile", compile_cmd))
config.substitutions.append(("%libclc-run", run_cmd))
config.available_features.add("libclc-native-run")
# Propagate PATH from environment
``````````
</details>
https://github.com/llvm/llvm-project/pull/214072
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits