Remove type: ignore comment

The bug in mypy that required this comment has been fixed.

Signed-off-by: rany2 <rany2@riseup.net>
This commit is contained in:
rany2
2023-07-09 15:40:14 +03:00
parent a1bacbe1fb
commit 5f27018c87

View File

@@ -15,7 +15,7 @@ from edge_tts import Communicate, SubMaker, list_voices
async def _print_voices(*, proxy: str) -> None:
"""Print all available voices."""
voices = await list_voices(proxy=proxy)
voices = sorted(voices, key=lambda voice: voice["ShortName"]) # type: ignore
voices = sorted(voices, key=lambda voice: voice["ShortName"])
for idx, voice in enumerate(voices):
if idx != 0:
print()