From 4e82e6907051eb7ebe67e8a2564e6793fdad3a87 Mon Sep 17 00:00:00 2001 From: matejcik Date: Fri, 24 Jan 2020 16:55:24 +0100 Subject: [PATCH] core: add missing type annotation --- core/src/trezor/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/trezor/strings.py b/core/src/trezor/strings.py index d4a3bb1354..976f213359 100644 --- a/core/src/trezor/strings.py +++ b/core/src/trezor/strings.py @@ -19,7 +19,7 @@ def format_ordinal(number: int) -> str: ) -def format_plural(string: str, count: int, plural: str): +def format_plural(string: str, count: int, plural: str) -> str: """ Adds plural form to a string based on `count`. !! Does not work with irregular words !!