diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-05 16:40:02 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-06-06 20:30:24 +0300 |
commit | 25875ae0d37b68635a61298a24917c313fb761e1 (patch) | |
tree | d4419cd0477690c8f0c093a5c6210c0baf5cce2b /mesonbuild/dependencies/scalapack.py | |
parent | 71906c4bf842bfa9ea65893ae9e3ddb2b61b0440 (diff) | |
download | meson-25875ae0d37b68635a61298a24917c313fb761e1.zip meson-25875ae0d37b68635a61298a24917c313fb761e1.tar.gz meson-25875ae0d37b68635a61298a24917c313fb761e1.tar.bz2 |
typing: Fully annotate dependencies.{detect,factory} + some other fixes
Diffstat (limited to 'mesonbuild/dependencies/scalapack.py')
-rw-r--r-- | mesonbuild/dependencies/scalapack.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |