complete typing for now
This commit is contained in:
23
mypy.ini
23
mypy.ini
@@ -1,16 +1,29 @@
|
|||||||
[mypy]
|
[mypy]
|
||||||
warn_return_any = True
|
|
||||||
warn_unused_configs = True
|
|
||||||
|
|
||||||
disallow_any_unimported = True
|
disallow_any_unimported = True
|
||||||
#disallow_any_expr = True
|
disallow_any_expr = False
|
||||||
disallow_any_decorated = True
|
disallow_any_decorated = True
|
||||||
#disallow_any_explicit = True
|
disallow_any_explicit = False
|
||||||
disallow_any_generics = True
|
disallow_any_generics = True
|
||||||
disallow_subclassing_any = True
|
disallow_subclassing_any = True
|
||||||
|
|
||||||
disallow_untyped_calls = True
|
disallow_untyped_calls = True
|
||||||
disallow_untyped_defs = True
|
disallow_untyped_defs = True
|
||||||
disallow_incomplete_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]
|
[mypy-edge_tts.list_voices]
|
||||||
disallow_any_decorated = False
|
disallow_any_decorated = False
|
||||||
|
|||||||
@@ -5,3 +5,5 @@ __init__ for edge_tts
|
|||||||
from .communicate import Communicate
|
from .communicate import Communicate
|
||||||
from .list_voices import VoicesManager, list_voices
|
from .list_voices import VoicesManager, list_voices
|
||||||
from .submaker import SubMaker
|
from .submaker import SubMaker
|
||||||
|
|
||||||
|
__all__ = ["Communicate", "VoicesManager", "list_voices", "SubMaker"]
|
||||||
|
|||||||
Reference in New Issue
Block a user