interperter/kwargs: narrow type checking

Since the convertor has been added env, we are now only going to be an
EnvironmentVariables object, nothing else.
pull/9185/head
Dylan Baker 3 years ago
parent d87b3c7b3f
commit 940fc372db
  1. 2
      mesonbuild/interpreter/kwargs.py

@ -39,7 +39,7 @@ class BaseTest(TypedDict):
workdir: T.Optional[str] workdir: T.Optional[str]
depends: T.List[T.Union[build.CustomTarget, build.BuildTarget]] depends: T.List[T.Union[build.CustomTarget, build.BuildTarget]]
priority: int priority: int
env: T.Union[EnvironmentVariablesObject, T.List[str], T.Dict[str, str], str] env: EnvironmentVariablesObject
suite: T.List[str] suite: T.List[str]

Loading…
Cancel
Save