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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user