Code styling tweaks to core helpers (#85441)
This commit is contained in:
parent
cf5fca0464
commit
06a35fb7db
22 changed files with 192 additions and 100 deletions
|
@ -257,7 +257,9 @@ class _TranslationCache:
|
|||
_merge_resources if category == "state" else _build_resources
|
||||
)
|
||||
new_resources: Mapping[str, dict[str, Any] | str]
|
||||
new_resources = resource_func(translation_strings, components, category) # type: ignore[assignment]
|
||||
new_resources = resource_func( # type: ignore[assignment]
|
||||
translation_strings, components, category
|
||||
)
|
||||
|
||||
for component, resource in new_resources.items():
|
||||
category_cache: dict[str, Any] = cached.setdefault(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue