From 284b89c3217688ac09b79463a20e4099d7c158b9 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 11 Dec 2020 14:10:59 -0800 Subject: [PATCH] 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. --- mesonbuild/dependencies/mpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/dependencies/mpi.py b/mesonbuild/dependencies/mpi.py index 2e1e76446..d4b324cca 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()