typing: fix envconfig typing

pull/7657/head
Daniel Mensinger 4 years ago
parent 3ae13d1dc2
commit ca1878ffb5
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 2
      mesonbuild/envconfig.py
  2. 2
      run_mypy.py

@ -111,7 +111,7 @@ def get_env_var_pair(for_machine: MachineChoice,
def get_env_var(for_machine: MachineChoice,
is_cross: bool,
var_name: str) -> T.Tuple[T.Optional[str], T.Optional[str]]:
var_name: str) -> T.Optional[str]:
ret = get_env_var_pair(for_machine, is_cross, var_name)
if ret is None:
return None

@ -27,7 +27,7 @@ normal_modules = [
'mesonbuild/mcompile.py',
'mesonbuild/mesonlib.py',
'mesonbuild/arglist.py',
# 'mesonbuild/envconfig.py',
'mesonbuild/envconfig.py',
]
strict_modules = [

Loading…
Cancel
Save