modules/gnome: fix declared type of list

pull/9850/head
Dylan Baker 3 years ago committed by Eli Schwartz
parent f85629e374
commit fcf78ceb7b
  1. 2
      mesonbuild/modules/gnome.py

@ -1958,7 +1958,7 @@ class GnomeModule(ExtensionModule):
KwargInfo('packages', ContainerTypeInfo(list, (str, InternalDependency)), listify=True, default=[]),
)
def generate_vapi(self, state: 'ModuleState', args: T.Tuple[str], kwargs: 'GenerateVapi') -> ModuleReturnValue:
created_values: T.List[Dependency] = []
created_values: T.List[T.Union[Dependency, build.Data]] = []
library = args[0]
build_dir = os.path.join(state.environment.get_build_dir(), state.subdir)
source_dir = os.path.join(state.environment.get_source_dir(), state.subdir)

Loading…
Cancel
Save