diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-12-11 14:10:59 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-01-11 11:15:06 -0800 |
commit | 284b89c3217688ac09b79463a20e4099d7c158b9 (patch) | |
tree | 8c5d7ff1917bee599bfc3ac8aae7b287e5649631 /mesonbuild/dependencies/mpi.py | |
parent | a2055ad18bba5704c9cbbe211ed4e46549be05f8 (diff) | |
download | meson-284b89c3217688ac09b79463a20e4099d7c158b9.zip meson-284b89c3217688ac09b79463a20e4099d7c158b9.tar.gz meson-284b89c3217688ac09b79463a20e4099d7c158b9.tar.bz2 |
dependencies/mpi: Add a type annotation
Some change in this series causes mypy to notice that this isn't
annotated, and it makes a wrong assumption.
Diffstat (limited to 'mesonbuild/dependencies/mpi.py')
-rw-r--r-- | mesonbuild/dependencies/mpi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/mpi.py b/mesonbuild/dependencies/mpi.py index 2e1e764..d4b324c 100644 --- a/mesonbuild/dependencies/mpi.py +++ b/mesonbuild/dependencies/mpi.py @@ -106,7 +106,7 @@ class _MPIConfigToolDependency(ConfigToolDependency): Drop -O2 and everything that is not needed. """ result = [] - multi_args = ('-I', ) + multi_args: T.Tuple[str, ...] = ('-I', ) if self.language == 'fortran': fc = self.env.coredata.compilers[self.for_machine]['fortran'] multi_args += fc.get_module_incdir_args() |