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

Baranov Victor via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 23:54:10 PST 2025


================
@@ -255,6 +393,13 @@ def run_linter(changed_files: List[str], args: LintArgs) -> tuple[bool, Optional
 
 if __name__ == "__main__":
     parser = argparse.ArgumentParser()
+    parser.add_argument(
+        "--linter",
+        type=str,
+        choices=["clang-tidy", "doc8"],
----------------
vbvictor wrote:

I think we don't really need it now because `clang-tidy` has very little python files that don't change frequently.
If we are to add python linter for whole LLVM - it should be an RFC first. 

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


More information about the llvm-commits mailing list