Skip to content

Commit 89a376c

Browse files
authored
[mypyc] Add type annotation to setup.py (#20311)
I was getting mypy errors from setup.py when running `python runtests.py self`.
1 parent 8f8096b commit 89a376c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/lib-rt/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def run(self) -> None:
9999
kwargs: dict[str, Any]
100100
if sys.platform == "darwin":
101101
kwargs = {"language": "c++"}
102-
compile_args = []
102+
compile_args: list[str] = []
103103
else:
104104
kwargs = {}
105105
compile_args = ["--std=c++11"]

0 commit comments

Comments
 (0)