From 28e85aa548f1d036cb8e632b17db3e65727fe4b0 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Mon, 3 Apr 2023 13:48:30 +0200 Subject: [PATCH] main: mypy --- capa/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/capa/main.py b/capa/main.py index fa54c4c7..75979c09 100644 --- a/capa/main.py +++ b/capa/main.py @@ -1182,6 +1182,11 @@ def main(argv=None): logger.debug("file limitation short circuit, won't analyze fully.") return E_FILE_LIMITATION + # TODO: #1411 use a real type, not a dict here. + meta: Dict[str, Any] + capabilities: MatchResults + counts: Dict[str, Any] + if format_ == FORMAT_RESULT: # result document directly parses into meta, capabilities result_doc = capa.render.result_document.ResultDocument.parse_file(args.sample)