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-12-11 07:26:05.000000 +0000
+++ lit.cfg.py 2025-12-11 07:27:46.866166 +0000
@@ -79,11 +79,13 @@
llvm_config.use_default_substitutions()
llvm_config.use_clang()
-config.substitutions.append(('%clang_cir',
os.path.join(config.clang_tools_dir, 'clang')))
+config.substitutions.append(
+ ("%clang_cir", os.path.join(config.clang_tools_dir, "clang"))
+)
config.substitutions.append(("%src_dir", config.clang_src_dir))
config.substitutions.append(("%src_include_dir", config.clang_src_dir +
"/include"))
``````````
</details>
https://github.com/llvm/llvm-project/pull/171615
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits