build: Add missing annotations for Build.get_* methods

The underlying attributes are typed properly, but the getters are not
This commit is contained in:
Dylan Baker 2021-08-10 11:29:41 -07:00 committed by Daniel Mensinger
parent 3467cf956c
commit 65d5d9e20c
1 changed files with 4 additions and 4 deletions

View File

@ -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]: