aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/coredata.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-06-21 20:04:01 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-06-25 10:08:15 -0400
commita53c6687b65fd91fa4a85a596ba365cb4cfa6467 (patch)
tree626dbfd0af09d6facd6fd0ef4f4ac8970aa40dde /mesonbuild/coredata.py
parentb411be5edcec5711d5de6339dec946734f60408e (diff)
downloadmeson-a53c6687b65fd91fa4a85a596ba365cb4cfa6467.zip
meson-a53c6687b65fd91fa4a85a596ba365cb4cfa6467.tar.gz
meson-a53c6687b65fd91fa4a85a596ba365cb4cfa6467.tar.bz2
fully type mconf.py
Diffstat (limited to 'mesonbuild/coredata.py')
-rw-r--r--mesonbuild/coredata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index 44b7b51..46127c6 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -717,13 +717,13 @@ class CoreData:
return dirty
- def clear_cache(self):
+ def clear_cache(self) -> None:
self.deps.host.clear()
self.deps.build.clear()
self.compiler_check_cache.clear()
self.run_check_cache.clear()
- def get_nondefault_buildtype_args(self):
+ def get_nondefault_buildtype_args(self) -> T.List[T.Union[T.Tuple[str, str, str], T.Tuple[str, bool, bool]]]:
result = []
value = self.options[OptionKey('buildtype')].value
if value == 'plain':