aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-08-30 15:30:25 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-08 20:15:57 +0200
commit3ae13d1dc2cd6ba65c2a4f9044f223e62a360b43 (patch)
tree55c7cdcc16ce8b36bc33d72380a50a417be01303
parent0490372449251fc2720748a0c58fb1bbdb5ca28f (diff)
downloadmeson-3ae13d1dc2cd6ba65c2a4f9044f223e62a360b43.zip
meson-3ae13d1dc2cd6ba65c2a4f9044f223e62a360b43.tar.gz
meson-3ae13d1dc2cd6ba65c2a4f9044f223e62a360b43.tar.bz2
typing: ignore error because of untyped decorator
-rw-r--r--mesonbuild/dependencies/mpi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/mpi.py b/mesonbuild/dependencies/mpi.py
index f25a990..deee9dd 100644
--- a/mesonbuild/dependencies/mpi.py
+++ b/mesonbuild/dependencies/mpi.py
@@ -27,7 +27,7 @@ if T.TYPE_CHECKING:
from ..environment import Environment, MachineChoice
-@factory_methods({DependencyMethods.PKGCONFIG, DependencyMethods.CONFIG_TOOL, DependencyMethods.SYSTEM})
+@factory_methods({DependencyMethods.PKGCONFIG, DependencyMethods.CONFIG_TOOL, DependencyMethods.SYSTEM}) # type: ignore
def mpi_factory(env: 'Environment', for_machine: 'MachineChoice',
kwargs: T.Dict[str, T.Any], methods: T.List[DependencyMethods]) -> T.List[T.Callable[[], 'Dependency']]:
language = kwargs.get('language', 'c')