mintro: typings again x2

Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
pull/7314/head
TheQwertiest 4 years ago committed by Dylan Baker
parent a8256e4900
commit 365b667dc5
  1. 2
      mesonbuild/mintro.py

@ -53,7 +53,7 @@ class IntroCommand:
def get_meson_introspection_types(coredata: T.Optional[cdata.CoreData] = None, def get_meson_introspection_types(coredata: T.Optional[cdata.CoreData] = None,
builddata: T.Optional[build.Build] = None, builddata: T.Optional[build.Build] = None,
backend: T.Optional[backends.Backend] = None, backend: T.Optional[backends.Backend] = None,
sourcedir: T.Optional[str] = None) -> 'collections.OrderedDict[str, IntroCommand]': sourcedir: T.Optional[str] = None) -> 'T.Mapping[str, IntroCommand]':
if backend and builddata: if backend and builddata:
benchmarkdata = backend.create_test_serialisation(builddata.get_benchmarks()) benchmarkdata = backend.create_test_serialisation(builddata.get_benchmarks())
testdata = backend.create_test_serialisation(builddata.get_tests()) testdata = backend.create_test_serialisation(builddata.get_tests())

Loading…
Cancel
Save