fix(lint): fix dict comprehension and import sorting
Some checks failed
CI / architecture (push) Failing after 8s
CI / ruff (push) Failing after 7s
CI / pytest (push) Failing after 0s
CI / dependency-scanning (push) Successful in 26s
CI / audit (push) Successful in 8s
CI / docs (push) Has been skipped

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-12 23:29:10 +01:00
parent 79c985ee39
commit 011a4df2d4

View File

@@ -131,7 +131,7 @@ class HomepageSections(BaseModel):
""" """
def make_translatable(langs: list[str]) -> TranslatableText: def make_translatable(langs: list[str]) -> TranslatableText:
return TranslatableText(translations={lang: "" for lang in langs}) return TranslatableText(translations=dict.fromkeys(langs, ""))
return cls( return cls(
hero=HeroSection( hero=HeroSection(