Stricter pylint message control (#86154)

This commit is contained in:
Franck Nijhof 2023-01-20 13:47:55 +01:00 committed by GitHub
parent 29b2b6727e
commit 79b52a2b41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 112 additions and 133 deletions

View file

@ -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