mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 03:19:34 +00:00
Update ruff to 0.12.0 (#147106)
This commit is contained in:
@@ -101,8 +101,7 @@ def async_notify_setup_error(
|
||||
|
||||
This method must be run in the event loop.
|
||||
"""
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
from .components import persistent_notification
|
||||
from .components import persistent_notification # noqa: PLC0415
|
||||
|
||||
if (errors := hass.data.get(_DATA_PERSISTENT_ERRORS)) is None:
|
||||
errors = hass.data[_DATA_PERSISTENT_ERRORS] = {}
|
||||
|
||||
Reference in New Issue
Block a user