[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
================
@@ -71,12 +72,12 @@ def try_run(args, raise_error=True):
# This class represents the appearance of a message prefix in a file.
class MessagePrefix:
- def __init__(self, label):
+ def __init__(self, label: str):
----------------
EugeneZelenko wrote:
```suggestion
def __init__(self, label: str) -> None:
```
https://github.com/llvm/llvm-project/pull/133140
More information about the cfe-commits
mailing list