sourceset: improve typing of SourceSetRule

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
pull/10148/head
Paolo Bonzini 3 years ago committed by Dylan Baker
parent 9d42e58ea2
commit 6dd04ce57c
  1. 4
      mesonbuild/modules/sourceset.py

@ -59,8 +59,8 @@ _WHEN_KW: KwargInfo[T.List[T.Union[str, dependencies.Dependency]]] = KwargInfo(
class SourceSetRule(T.NamedTuple):
keys: T.List[str]
sources: T.Any
if_false: T.Any
sources: T.List[T.Union[mesonlib.FileOrString, build.GeneratedTypes]]
if_false: T.List[T.Union[mesonlib.FileOrString, build.GeneratedTypes]]
sourcesets: T.List[SourceSetImpl]
deps: T.List[dependencies.Dependency]
extra_deps: T.List[dependencies.Dependency]

Loading…
Cancel
Save