From 5f27018c873ce872022f28e3374b05d5b8f63386 Mon Sep 17 00:00:00 2001 From: rany2 Date: Sun, 9 Jul 2023 15:40:14 +0300 Subject: [PATCH] Remove `type: ignore` comment The bug in mypy that required this comment has been fixed. Signed-off-by: rany2 --- src/edge_tts/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edge_tts/util.py b/src/edge_tts/util.py index be7e4a0..a26c9bd 100644 --- a/src/edge_tts/util.py +++ b/src/edge_tts/util.py @@ -15,7 +15,7 @@ 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()