From f386606a1c5f491c55074517d9c6b3b3863e4851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Thu, 13 Aug 2020 13:10:50 -0700 Subject: [PATCH] manifest: add missing return type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The _new_ctx() return type annotation was incorrectly not added. Signed-off-by: Martí Bolívar --- src/west/manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/west/manifest.py b/src/west/manifest.py index 52593d0..8def7cf 100644 --- a/src/west/manifest.py +++ b/src/west/manifest.py @@ -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,