From 25875ae0d37b68635a61298a24917c313fb761e1 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Sat, 5 Jun 2021 16:40:02 +0200 Subject: typing: Fully annotate dependencies.{detect,factory} + some other fixes --- mesonbuild/dependencies/scalapack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesonbuild/dependencies/scalapack.py') diff --git a/mesonbuild/dependencies/scalapack.py b/mesonbuild/dependencies/scalapack.py index f81f819..b19e98b 100644 --- a/mesonbuild/dependencies/scalapack.py +++ b/mesonbuild/dependencies/scalapack.py @@ -25,13 +25,13 @@ from .factory import factory_methods if T.TYPE_CHECKING: from ..environment import Environment, MachineChoice - from .base import DependencyType + from .factory import TV_DepGenerators @factory_methods({DependencyMethods.PKGCONFIG, DependencyMethods.CMAKE}) def scalapack_factory(env: 'Environment', for_machine: 'MachineChoice', kwargs: T.Dict[str, T.Any], - methods: T.List[DependencyMethods]) -> T.List['DependencyType']: + methods: T.List[DependencyMethods]) -> 'TV_DepGenerators': candidates = [] if DependencyMethods.PKGCONFIG in methods: -- cgit v1.1