Bump ruff to 0.9.1 (#135197)

This commit is contained in:
Joost Lekkerkerker
2025-01-14 11:46:12 +01:00
committed by GitHub
parent 2b51ab1c75
commit 8db63adc11
49 changed files with 256 additions and 265 deletions

View File

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