mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Please mypy. (#53786)
This commit is contained in:
parent
73bc62949b
commit
38832618bf
@ -1,4 +1,6 @@
|
||||
"""Support for the MaryTTS service."""
|
||||
from __future__ import annotations
|
||||
|
||||
from speak2mary import MaryTTS
|
||||
import voluptuous as vol
|
||||
|
||||
@ -19,7 +21,7 @@ DEFAULT_PORT = 59125
|
||||
DEFAULT_LANG = "en_US"
|
||||
DEFAULT_VOICE = "cmu-slt-hsmm"
|
||||
DEFAULT_CODEC = "WAVE_FILE"
|
||||
DEFAULT_EFFECTS = {}
|
||||
DEFAULT_EFFECTS: dict[str, str] = {}
|
||||
|
||||
MAP_MARYTTS_CODEC = {"WAVE_FILE": "wav", "AIFF_FILE": "aiff", "AU_FILE": "au"}
|
||||
|
||||
|
3
mypy.ini
3
mypy.ini
@ -1483,9 +1483,6 @@ ignore_errors = true
|
||||
[mypy-homeassistant.components.lyric.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.marytts.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.media_source.*]
|
||||
ignore_errors = true
|
||||
|
||||
|
@ -94,7 +94,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
||||
"homeassistant.components.luftdaten.*",
|
||||
"homeassistant.components.lutron_caseta.*",
|
||||
"homeassistant.components.lyric.*",
|
||||
"homeassistant.components.marytts.*",
|
||||
"homeassistant.components.media_source.*",
|
||||
"homeassistant.components.melcloud.*",
|
||||
"homeassistant.components.meteo_france.*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user