fix(lint): fix dict comprehension and import sorting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -131,7 +131,7 @@ class HomepageSections(BaseModel):
|
||||
"""
|
||||
|
||||
def make_translatable(langs: list[str]) -> TranslatableText:
|
||||
return TranslatableText(translations={lang: "" for lang in langs})
|
||||
return TranslatableText(translations=dict.fromkeys(langs, ""))
|
||||
|
||||
return cls(
|
||||
hero=HeroSection(
|
||||
|
||||
Reference in New Issue
Block a user