mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Bump ruff to 0.9.1 (#135197)
This commit is contained in:
committed by
GitHub
parent
2b51ab1c75
commit
8db63adc11
@@ -15,9 +15,9 @@ if TYPE_CHECKING:
|
||||
_function_cache: dict[str, Callable[[str, str, dict[str, str] | None], str]] = {}
|
||||
|
||||
|
||||
def import_async_get_exception_message() -> (
|
||||
Callable[[str, str, dict[str, str] | None], str]
|
||||
):
|
||||
def import_async_get_exception_message() -> Callable[
|
||||
[str, str, dict[str, str] | None], str
|
||||
]:
|
||||
"""Return a method that can fetch a translated exception message.
|
||||
|
||||
Defaults to English, requires translations to already be cached.
|
||||
|
||||
Reference in New Issue
Block a user