From c02b0352d873adec1fe75efda9b3b9dc124846b0 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 29 Nov 2022 12:29:50 +0100 Subject: add missing type annotation --- src/koszko_org_website/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/koszko_org_website') diff --git a/src/koszko_org_website/app.py b/src/koszko_org_website/app.py index 84be22a..467672b 100644 --- a/src/koszko_org_website/app.py +++ b/src/koszko_org_website/app.py @@ -35,7 +35,7 @@ langs_long_2_short = dict((v, k) for k, v in langs_short_2_long.items()) default_locale = 'pl_PL' -def raise_exception(msg) -> t.NoReturn: +def raise_exception(msg: str) -> t.NoReturn: raise Exception(msg) -- cgit v1.2.3