================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to