[llvm] [Github][CI] Add `doc8` for clang-tidy documentation formatting (PR #168827)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 22:12:55 PST 2025


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-11-20 06:08:36.000000 +0000
+++ code-lint-helper.py	2025-11-20 06:12:16.146033 +0000
@@ -231,11 +231,10 @@
         text=True,
         check=False,
     )
 
     return clean_clang_tidy_output(proc.stdout.strip())
-
 
 
 def clean_doc8_output(output: str) -> Optional[str]:
     if not output:
         return None

``````````

</details>


https://github.com/llvm/llvm-project/pull/168827


More information about the llvm-commits mailing list