From 9f384e92075022af73f1a75bb746b71ea11b2f21 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 16 Dec 2021 22:50:15 -0500 Subject: fix type annotations for compiler toolchain rpaths We pass around a tuple of rpaths, because rpaths *can* be more than one. But all the annotations said it would be a str instead. --- mesonbuild/compilers/compilers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/compilers/compilers.py') diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index e0745c2..b652f5a 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -875,7 +875,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): return None def build_rpath_args(self, env: 'Environment', build_dir: str, from_dir: str, - rpath_paths: str, build_rpath: str, + rpath_paths: T.Tuple[str, ...], build_rpath: str, install_rpath: str) -> T.Tuple[T.List[str], T.Set[bytes]]: return self.linker.build_rpath_args( env, build_dir, from_dir, rpath_paths, build_rpath, install_rpath) -- cgit v1.1