modules/gnome: use noPosargs for compile_schemas

pull/9506/head
Dylan Baker 3 years ago
parent fea24ca174
commit f339c33394
  1. 5
      mesonbuild/modules/gnome.py

@ -980,9 +980,8 @@ class GnomeModule(ExtensionModule):
@FeatureNewKwargs('build target', '0.40.0', ['build_by_default']) @FeatureNewKwargs('build target', '0.40.0', ['build_by_default'])
@permittedKwargs({'build_by_default', 'depend_files'}) @permittedKwargs({'build_by_default', 'depend_files'})
def compile_schemas(self, state, args, kwargs): @noPosargs
if args: def compile_schemas(self, state: 'ModuleState', args: T.List['TYPE_var'], kwargs) -> ModuleReturnValue:
raise MesonException('Compile_schemas does not take positional arguments.')
srcdir = os.path.join(state.build_to_src, state.subdir) srcdir = os.path.join(state.build_to_src, state.subdir)
outdir = state.subdir outdir = state.subdir

Loading…
Cancel
Save