Skip to content

Commit

Permalink
Remove type: ignore comment
Browse files Browse the repository at this point in the history
The bug in mypy that required this comment has been fixed.

Signed-off-by: rany2 <[email protected]>
  • Loading branch information
rany2 committed Jul 9, 2023
1 parent a1bacbe commit 5f27018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edge_tts/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5f27018

Please sign in to comment.