diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-11-29 12:29:50 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-11-29 12:29:50 +0100 |
commit | c02b0352d873adec1fe75efda9b3b9dc124846b0 (patch) | |
tree | 4938ffe3ed0665999298c4399c0d25e94a4a1fcb /src/koszko_org_website | |
parent | 169d6925b6a246db528b69b67ef9a49b0a1ed474 (diff) | |
download | koszko-org-website-c02b0352d873adec1fe75efda9b3b9dc124846b0.tar.gz koszko-org-website-c02b0352d873adec1fe75efda9b3b9dc124846b0.zip |
add missing type annotationv2022.11.29
Diffstat (limited to 'src/koszko_org_website')
-rw-r--r-- | src/koszko_org_website/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |