aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-12-04 21:09:08 -0800
committerEli Schwartz <eschwartz93@gmail.com>2022-01-18 21:58:24 -0500
commitdacba7a83dcbd8097817265cfc335a3d955830c9 (patch)
treee4e07de54dd5c875036abaae22b39d006832a502 /mesonbuild/modules/gnome.py
parentce5f56f266339d511305e123ba20e74e1058a745 (diff)
downloadmeson-dacba7a83dcbd8097817265cfc335a3d955830c9.zip
meson-dacba7a83dcbd8097817265cfc335a3d955830c9.tar.gz
meson-dacba7a83dcbd8097817265cfc335a3d955830c9.tar.bz2
modules/gnome: define and annotate all instance variables in the initializer
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index fc084c2..c285073 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -255,12 +255,14 @@ native_glib_version = None
class GnomeModule(ExtensionModule):
def __init__(self, interpreter: 'Interpreter') -> None:
super().__init__(interpreter)
- self.gir_dep = None
+ self.gir_dep: T.Optional[Dependency] = None
+ self.giscanner: T.Optional[T.Union[ExternalProgram, build.Executable, OverrideProgram]] = None
+ self.gicompiler: T.Optional[T.Union[ExternalProgram, build.Executable, OverrideProgram]] = None
self.install_glib_compile_schemas = False
- self.install_gio_querymodules = []
+ self.install_gio_querymodules: T.List[str] = []
self.install_gtk_update_icon_cache = False
self.install_update_desktop_database = False
- self.devenv = None
+ self.devenv: T.Optional[build.EnvironmentVariables] = None
self.methods.update({
'post_install': self.post_install,
'compile_resources': self.compile_resources,