build: Add missing annotations for Build.get_* methods

The underlying attributes are typed properly, but the getters are not
pull/9143/head
Dylan Baker 3 years ago committed by Daniel Mensinger
parent 3467cf956c
commit 65d5d9e20c
  1. 8
      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]:

Loading…
Cancel
Save