From 0e118871c1e1fdd1ffc63da31164fac26e9d1cef Mon Sep 17 00:00:00 2001 From: klemek Date: Mon, 27 Apr 2020 14:34:15 +0200 Subject: [PATCH] docstring -> typing --- meme_otron/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meme_otron/utils.py b/meme_otron/utils.py index 27688ff..da522b5 100644 --- a/meme_otron/utils.py +++ b/meme_otron/utils.py @@ -69,7 +69,7 @@ args_regex = re.compile('"([^"]*)"|\'([^\']*)\'|([^ ]+)') def parse_arguments(src: str) -> List[str]: - def get_found_match(m: list): + def get_found_match(m: list) -> str: f = [g for g in m if len(g) > 0] if len(f) > 0: return f[0]