diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-07 20:56:27 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-09 09:46:37 +0200 |
commit | 2263a84d0796ffe93c3dc33502dc13412fbd4afe (patch) | |
tree | 6bb428477e7a0d25cffb96fddbc53f3ce94d7513 /mesonbuild/dependencies/coarrays.py | |
parent | a8cd45d3ab2c84f15b7f4bdc3fee3dbac4eaa3ba (diff) | |
download | meson-2263a84d0796ffe93c3dc33502dc13412fbd4afe.zip meson-2263a84d0796ffe93c3dc33502dc13412fbd4afe.tar.gz meson-2263a84d0796ffe93c3dc33502dc13412fbd4afe.tar.bz2 |
typing: Rename some variables
Diffstat (limited to 'mesonbuild/dependencies/coarrays.py')
-rw-r--r-- | mesonbuild/dependencies/coarrays.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mesonbuild/dependencies/coarrays.py b/mesonbuild/dependencies/coarrays.py index 35001e4..aa8c818 100644 --- a/mesonbuild/dependencies/coarrays.py +++ b/mesonbuild/dependencies/coarrays.py @@ -21,16 +21,17 @@ from .pkgconfig import PkgConfigDependency from .factory import factory_methods if T.TYPE_CHECKING: - from . base import Dependency - from . factory import TV_DepGenerators + from . factory import DependencyGenerator from ..environment import Environment, MachineChoice @factory_methods({DependencyMethods.PKGCONFIG, DependencyMethods.CMAKE, DependencyMethods.SYSTEM}) -def coarray_factory(env: 'Environment', for_machine: 'MachineChoice', - kwargs: T.Dict[str, T.Any], methods: T.List[DependencyMethods]) -> 'TV_DepGenerators': +def coarray_factory(env: 'Environment', + for_machine: 'MachineChoice', + kwargs: T.Dict[str, T.Any], + methods: T.List[DependencyMethods]) -> T.List['DependencyGenerator']: fcid = detect_compiler('coarray', env, for_machine, 'fortran').get_id() - candidates: 'TV_DepGenerators' = [] + candidates: T.List['DependencyGenerator'] = [] if fcid == 'gcc': # OpenCoarrays is the most commonly used method for Fortran Coarray with GCC |