Skip to content

Commit

Permalink
Automatic linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Github-actions committed Jan 10, 2024
1 parent d12f2cb commit 58ee0ce
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions wger/core/management/commands/extract-i18n-flutter-exercises.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@


class Command(BaseCommand):
help = ("Helper command to extract translations for the exercises used in the flutter repo for "
"the screenshots for the play store")
help = (
"Helper command to extract translations for the exercises used in the flutter repo for "
"the screenshots for the play store"
)

uuids = {
'squats': '30ac081b-fb79-4253-9457-8efc07568790',
Expand Down Expand Up @@ -52,7 +54,8 @@ def handle(self, **options):
languages.append(translation.language)

self.stdout.write(
f"- translation {translation.language.short_name}: {translation.name}")
f"- translation {translation.language.short_name}: {translation.name}"
)

out.append(
f"""
Expand All @@ -73,8 +76,7 @@ def handle(self, **options):

for language in languages:
out.insert(
0,
f"""const tLanguage{language.id} = Language(
0, f"""const tLanguage{language.id} = Language(
id: {language.id},
shortName: '{language.short_name}',
fullName: '{language.full_name}',
Expand Down

0 comments on commit 58ee0ce

Please sign in to comment.