Stricter pylint message control (#86154)
This commit is contained in:
@@ -976,7 +976,7 @@ async def async_check_ha_config_file(hass: HomeAssistant) -> str | None:
|
||||
|
||||
This method is a coroutine.
|
||||
"""
|
||||
# pylint: disable=import-outside-toplevel
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
from .helpers import check_config
|
||||
|
||||
res = await check_config.async_check_ha_config_file(hass)
|
||||
@@ -994,7 +994,7 @@ def async_notify_setup_error(
|
||||
|
||||
This method must be run in the event loop.
|
||||
"""
|
||||
# pylint: disable=import-outside-toplevel
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
from .components import persistent_notification
|
||||
|
||||
if (errors := hass.data.get(DATA_PERSISTENT_ERRORS)) is None:
|
||||
|
||||
Reference in New Issue
Block a user