aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-04-30 12:58:53 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-06-02 15:53:17 -0700
commit201dc6422683858f9656c8b572530237c810feef (patch)
tree7de05236c2ac989b4ddc51ea5faed52252e55972 /mesonbuild/modules/gnome.py
parent145d92aa27e4a7ff82115c5e82ec62251ce9756b (diff)
downloadmeson-201dc6422683858f9656c8b572530237c810feef.zip
meson-201dc6422683858f9656c8b572530237c810feef.tar.gz
meson-201dc6422683858f9656c8b572530237c810feef.tar.bz2
add a couple more type annotations
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 95860d6..0a72ad6 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -510,7 +510,7 @@ class GnomeModule(ExtensionModule):
return self.gir_dep, self.giscanner, self.gicompiler
@functools.lru_cache(maxsize=None)
- def _gir_has_option(self, option):
+ def _gir_has_option(self, option) -> bool:
exe = self.giscanner
if hasattr(exe, 'held_object'):
exe = exe.held_object