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

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 26 07:38:17 PST 2025


================
@@ -18,98 +18,65 @@
 """
 
 import argparse
+import github
+import json
 import os
 import subprocess
 import sys
-from typing import List, Optional
+from typing import Any, Dict, Final, List, Sequence
 
 
 class LintArgs:
-    start_rev: str = None
-    end_rev: str = None
-    repo: str = None
-    changed_files: List[str] = []
-    token: str = None
+    start_rev: str
----------------
EugeneZelenko wrote:

Is it necessary to expose this data member to external world? If not, prefix with two underscores should be uses (private). Same in other places.

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


More information about the cfe-commits mailing list