mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 04:50:17 +00:00
Update ruff to 0.12.0 (#147106)
This commit is contained in:
@@ -41,8 +41,7 @@ def _deprecated_typing_helper(attr: str) -> DeferredDeprecatedAlias:
|
||||
"""Help to make a DeferredDeprecatedAlias."""
|
||||
|
||||
def value_fn() -> Any:
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
import homeassistant.core
|
||||
import homeassistant.core # noqa: PLC0415
|
||||
|
||||
return getattr(homeassistant.core, attr)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user