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/git/code-lint-helper.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
--- code-lint-helper.py 2025-12-15 01:18:44.000000 +0000
+++ code-lint-helper.py 2025-12-15 01:23:25.056406 +0000
@@ -306,13 +306,11 @@
os.path.splitext(filepath)[1] == ".rst"
and filepath.startswith("clang-tools-extra/docs/clang-tidy/")
and os.path.exists(filepath)
)
- def run_linter_tool(
- self, files_to_lint: Iterable[str], args: LintArgs
- ) -> str:
+ def run_linter_tool(self, files_to_lint: Iterable[str], args: LintArgs) ->
str:
if not files_to_lint:
return ""
doc8_cmd = [args.doc8_binary, "-q"]
doc8_cmd.extend(files_to_lint)
``````````
</details>
https://github.com/llvm/llvm-project/pull/172123
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits