interpreter: add type annotations for program_from_overrides
This commit is contained in:
parent
94a5ffabf3
commit
7f8961897a
|
@ -1368,7 +1368,8 @@ external dependencies (including libraries) must go to "dependencies".''')
|
|||
extra_info.append(f"({' '.join(extprog.get_command())})")
|
||||
return extprog
|
||||
|
||||
def program_from_overrides(self, command_names, extra_info):
|
||||
def program_from_overrides(self, command_names: T.List[str], extra_info: T.List['mlog.TV_Loggable']) -> \
|
||||
T.Optional[T.Union[ExternalProgram, 'OverrideProgram', 'build.Executable']]:
|
||||
for name in command_names:
|
||||
if not isinstance(name, str):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue