mirror of
https://github.com/rany2/edge-tts
synced 2024-11-22 01:45:02 +00:00
complete typing for now
This commit is contained in:
parent
d7f60bc49f
commit
57c5143aac
23
mypy.ini
23
mypy.ini
@ -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
|
||||
|
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user