Stricter pylint message control (#86154)
This commit is contained in:
parent
29b2b6727e
commit
79b52a2b41
73 changed files with 112 additions and 133 deletions
|
@ -375,7 +375,7 @@ class CastMediaPlayerEntity(CastDevice, MediaPlayerEntity):
|
|||
tts_base_url = None
|
||||
url_description = ""
|
||||
if "tts" in self.hass.config.components:
|
||||
# pylint: disable=[import-outside-toplevel]
|
||||
# pylint: disable-next=[import-outside-toplevel]
|
||||
from homeassistant.components import tts
|
||||
|
||||
with suppress(KeyError): # base_url not configured
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue