[llvm] [lit] Add type hints to builtin_commands (PR #201497)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 07:22:04 PDT 2026
================
@@ -2,17 +2,18 @@
import subprocess
import resource
import os
+from typing import List, NoReturn, Tuple
-ULIMIT_ENV_VAR_PREFIX = "LIT_INTERNAL_ULIMIT_"
+ULIMIT_ENV_VAR_PREFIX: str = "LIT_INTERNAL_ULIMIT_"
----------------
prasoon054 wrote:
You're right, these are redundant. I'll remove the annotations on constants and inferrable locals, keeping only the empty-container locals (`child_trees`, `filelines`).
https://github.com/llvm/llvm-project/pull/201497
More information about the llvm-commits
mailing list