[clang-tools-extra] [NFC][clang-tidy] Add type annotations to check_clang_tidy (PR #133140)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 27 08:32:49 PDT 2025


================
@@ -85,7 +86,7 @@ def check(self, file_check_suffix, input_text):
 
 
 class CheckRunner:
-    def __init__(self, args, extra_args):
+    def __init__(self, args: argparse.Namespace, extra_args: List[str]):
----------------
EugeneZelenko wrote:

```suggestion
    def __init__(self, args: argparse.Namespace, extra_args: List[str]) -> None:
```

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


More information about the cfe-commits mailing list