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-22 01:29:58.000000 +0000
+++ code-lint-helper.py 2025-12-22 01:31:38.208644 +0000
@@ -324,11 +324,16 @@
 
     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", "--config", 
"clang-tools-extra/clang-tidy/doc8.ini"]
+        doc8_cmd = [
+            args.doc8_binary,
+            "-q",
+            "--config",
+            "clang-tools-extra/clang-tidy/doc8.ini",
+        ]
         doc8_cmd.extend(files_to_lint)
 
         if args.verbose:
             print(f"Running doc8: {' '.join(doc8_cmd)}")
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/168722
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to