[clang-tools-extra] [llvm] [clang-tidy][NFC] Fix formatting issue in `clang-tidy` documentations (PR #168722)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 02:41:15 PST 2025


================
@@ -326,7 +326,12 @@ 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"]
+        doc8_cmd = [
+            args.doc8_binary,
+            "-q",
+            "--config",
+            "clang-tools-extra/clang-tidy/doc8.ini",
+        ]
----------------
zeyi2 wrote:

It can only find configs in the the current working directory, so if we don't provide a `--config` parameter, we will have to put the `doc8.ini` at the project root, which IMO is not ideal.

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


More information about the llvm-commits mailing list