diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-08-10 14:45:17 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-08-30 18:02:56 -0700 |
commit | ec59cbdf6128fd65b46f6d1837145a124ef0bba9 (patch) | |
tree | 29d8b6336aaf59666f9473894407ccb011cf0d53 /mesonbuild/interpreter/interpreter.py | |
parent | 8c90140f2bcc1025cc37c5489ef3f60c469009a5 (diff) | |
download | meson-ec59cbdf6128fd65b46f6d1837145a124ef0bba9.zip meson-ec59cbdf6128fd65b46f6d1837145a124ef0bba9.tar.gz meson-ec59cbdf6128fd65b46f6d1837145a124ef0bba9.tar.bz2 |
interpreter: move 'env' to type_checking
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter/interpreter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index d104f74..ec5c75c 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -51,6 +51,7 @@ from .interpreterobjects import ( NullSubprojectInterpreter, ) from .type_checking import ( + ENV_KW, INSTALL_MODE_KW, LANGUAGE_KW, NATIVE_KW, @@ -189,7 +190,7 @@ TEST_KWARGS: T.List[KwargInfo] = [ listify=True, default=[], since='0.46.0'), KwargInfo('priority', int, default=0, since='0.52.0'), # TODO: env needs reworks of the way the environment variable holder itself works probably - KwargInfo('env', (EnvironmentVariablesObject, list, dict, str, NoneType)), + ENV_KW, KwargInfo('suite', ContainerTypeInfo(list, str), listify=True, default=['']), # yes, a list of empty string ] |