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 llvm/utils/lit/lit/llvm/config.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
--- config.py 2026-02-20 14:16:43.000000 +0000
+++ config.py 2026-02-20 14:19:00.820346 +0000
@@ -784,11 +784,13 @@
extra_args=["--driver-mode=g++"] + additional_flags,
),
]
self.add_tool_substitutions(tool_substitutions)
self.config.substitutions.append(("%resource_dir",
builtin_include_dir))
- self.config.substitutions.append(("%clang_dir",
os.path.dirname(self.config.clang)))
+ self.config.substitutions.append(
+ ("%clang_dir", os.path.dirname(self.config.clang))
+ )
# FIXME: Find nicer way to prohibit this.
def prefer(this, to):
return '''\"*** Do not use '%s' in tests, use '%s'. ***\"''' %
(to, this)
``````````
</details>
https://github.com/llvm/llvm-project/pull/182130
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits