diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-08-10 11:29:41 -0700 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-20 18:57:19 +0200 |
commit | 65d5d9e20c33c55b1c6266041cf9d341deae121c (patch) | |
tree | 7ae65e4cea6e00ad070d4ca3d825174abafa1a65 | |
parent | 3467cf956c973de6b27d282257bdb3d654c7c35f (diff) | |
download | meson-65d5d9e20c33c55b1c6266041cf9d341deae121c.zip meson-65d5d9e20c33c55b1c6266041cf9d341deae121c.tar.gz meson-65d5d9e20c33c55b1c6266041cf9d341deae121c.tar.bz2 |
build: Add missing annotations for Build.get_* methods
The underlying attributes are typed properly, but the getters are not
-rw-r--r-- | mesonbuild/build.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index ceec9da..e82001a 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -291,16 +291,16 @@ class Build: def get_benchmarks(self) -> T.List['Test']: return self.benchmarks - def get_headers(self): + def get_headers(self) -> T.List['Headers']: return self.headers - def get_man(self): + def get_man(self) -> T.List['Man']: return self.man - def get_data(self): + def get_data(self) -> T.List['Data']: return self.data - def get_install_subdirs(self): + def get_install_subdirs(self) -> T.List['InstallDir']: return self.install_dirs def get_global_args(self, compiler: 'Compiler', for_machine: 'MachineChoice') -> T.List[str]: |