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:
parent
0053511c66
commit
4e82e69070
@ -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 !!
|
||||
|
Loading…
Reference in New Issue
Block a user