complete typing for now

This commit is contained in:
rany2 2023-01-05 01:13:33 +02:00
parent d7f60bc49f
commit 57c5143aac
2 changed files with 20 additions and 5 deletions

View File

@ -1,16 +1,29 @@
[mypy]
warn_return_any = True
warn_unused_configs = True
disallow_any_unimported = True
#disallow_any_expr = True
disallow_any_expr = False
disallow_any_decorated = True
#disallow_any_explicit = True
disallow_any_explicit = False
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
implicit_optional = False
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_return_any = True
warn_unreachable = True
strict_concatenate = True
strict_equality = True
strict = True
[mypy-edge_tts.list_voices]
disallow_any_decorated = False

View File

@ -5,3 +5,5 @@ __init__ for edge_tts
from .communicate import Communicate
from .list_voices import VoicesManager, list_voices
from .submaker import SubMaker
__all__ = ["Communicate", "VoicesManager", "list_voices", "SubMaker"]