manifest: add missing return type

The _new_ctx() return type annotation was incorrectly not added.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-08-13 13:10:50 -07:00 committed by Marti Bolivar
parent 91fada5e23
commit f386606a1c
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ _import_ctx = collections.namedtuple('_import_ctx', [
# None value is treated as a function which always returns True.
'filter_fn'])
def _new_ctx(ctx: _import_ctx, _new_filter: ImapFilterFnType):
def _new_ctx(ctx: _import_ctx, _new_filter: ImapFilterFnType) -> _import_ctx:
return _import_ctx(ctx.projects, _and_filters(ctx.filter_fn, _new_filter))
def _filter_ok(filter_fn: ImapFilterFnType,