aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-09-01 19:36:21 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-08 20:15:58 +0200
commit47373a2438c0fdeedd229b921c9d7e8dc1fc956a (patch)
tree9488b247f10bb279e0520d028132ce9f106d63c9 /mesonbuild/compilers/compilers.py
parent23818fc5a389c49e2673f79af2c90d9d56b1aaf0 (diff)
downloadmeson-47373a2438c0fdeedd229b921c9d7e8dc1fc956a.zip
meson-47373a2438c0fdeedd229b921c9d7e8dc1fc956a.tar.gz
meson-47373a2438c0fdeedd229b921c9d7e8dc1fc956a.tar.bz2
typing: get rid of most T.cast
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 0de59a4..c97bcc6 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -578,7 +578,7 @@ class Compiler(metaclass=abc.ABCMeta):
raise EnvironmentException('Language %s does not support function checks.' % self.get_display_language())
@classmethod
- def unix_args_to_native(cls, args):
+ def unix_args_to_native(cls, args: T.List[str]) -> T.List[str]:
"Always returns a copy that can be independently mutated"
return args[:]