Skip to content

Commit ca1878f

Browse files
committed
typing: fix envconfig typing
1 parent 3ae13d1 commit ca1878f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mesonbuild/envconfig.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def get_env_var_pair(for_machine: MachineChoice,
111111

112112
def get_env_var(for_machine: MachineChoice,
113113
is_cross: bool,
114-
var_name: str) -> T.Tuple[T.Optional[str], T.Optional[str]]:
114+
var_name: str) -> T.Optional[str]:
115115
ret = get_env_var_pair(for_machine, is_cross, var_name)
116116
if ret is None:
117117
return None

run_mypy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
'mesonbuild/mcompile.py',
2828
'mesonbuild/mesonlib.py',
2929
'mesonbuild/arglist.py',
30-
# 'mesonbuild/envconfig.py',
30+
'mesonbuild/envconfig.py',
3131
]
3232

3333
strict_modules = [

0 commit comments

Comments
 (0)