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

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 07:47:26 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"],
----------------
EugeneZelenko wrote:

For future enhancements: `Flake8` and `PyLint` are great tools for Python linting. But it'll be necessary to tweak configuration.

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


More information about the llvm-commits mailing list