1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00

core: add missing type annotation

This commit is contained in:
matejcik 2020-01-24 16:55:24 +01:00
parent 0053511c66
commit 4e82e69070

View File

@ -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 !!