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.
pull/8159/head
Dylan Baker 4 years ago
parent a2055ad18b
commit 284b89c321
  1. 2
      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()

Loading…
Cancel
Save