From 67b408eda1ace19bf84f6b9f7c216c478fb66e24 Mon Sep 17 00:00:00 2001 From: Jukka Lehtosalo Date: Fri, 28 Nov 2025 15:01:26 +0000 Subject: [PATCH] [mypyc] Add type annotation to setup.py I was getting mypy errors from setup.py when running `python runtests.py self`. --- mypyc/lib-rt/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypyc/lib-rt/setup.py b/mypyc/lib-rt/setup.py index 1333ca72a363..5f71d332229c 100644 --- a/mypyc/lib-rt/setup.py +++ b/mypyc/lib-rt/setup.py @@ -99,7 +99,7 @@ def run(self) -> None: kwargs: dict[str, Any] if sys.platform == "darwin": kwargs = {"language": "c++"} - compile_args = [] + compile_args: list[str] = [] else: kwargs = {} compile_args = ["--std=c++11"]