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

Nicolas van Kempen via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 27 10:29:40 PDT 2025


================
@@ -48,15 +48,16 @@
 import re
 import subprocess
 import sys
+from typing import List, Tuple
----------------
nicovank wrote:

`list` and `tuple` are Python 3.9: https://peps.python.org/pep-0585/
LLVM minimum Python version is 3.8 for now: https://github.com/llvm/llvm-project/blob/82c078c54d16b20c65d5e361f5da58b0b83c8c47/llvm/CMakeLists.txt#L973

Although 3.8 is EOL, I wouldn't be surprised there are machines somewhere still running the test suites on 3.8.

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


More information about the cfe-commits mailing list