Self hosted FLOSS fitness/workout, nutrition and weight tracker
Remove unnecessary coding declaration
Roland Geider6516fb31c774
diff --git a/wger/core/management/commands/clear-cache.py b/wger/core/management/commands/clear-cache.pyindex ee6519944..e49bb4d46 100644--- a/wger/core/management/commands/clear-cache.py+++ b/wger/core/management/commands/clear-cache.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/core/management/commands/delete-temp-users.py b/wger/core/management/commands/delete-temp-users.pyindex d3a89a745..00fe93d83 100644--- a/wger/core/management/commands/delete-temp-users.py+++ b/wger/core/management/commands/delete-temp-users.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/core/management/commands/extract-i18n.py b/wger/core/management/commands/extract-i18n.pyindex d6a7f7c69..d9f582822 100644--- a/wger/core/management/commands/extract-i18n.py+++ b/wger/core/management/commands/extract-i18n.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/core/management/commands/update-user-cache.py b/wger/core/management/commands/update-user-cache.pyindex 822d448fd..6b0b354e9 100644--- a/wger/core/management/commands/update-user-cache.py+++ b/wger/core/management/commands/update-user-cache.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/exercises/management/commands/change-exercise-author.py b/wger/exercises/management/commands/change-exercise-author.pyindex 79559c398..f65579f46 100644--- a/wger/exercises/management/commands/change-exercise-author.py+++ b/wger/exercises/management/commands/change-exercise-author.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/exercises/management/commands/download-exercise-images.py b/wger/exercises/management/commands/download-exercise-images.pyindex c993d8ad5..bc6f59001 100644--- a/wger/exercises/management/commands/download-exercise-images.py+++ b/wger/exercises/management/commands/download-exercise-images.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modify@@ -54,7 +52,7 @@ class Command(BaseCommand):dest='remote_url',default=settings.WGER_SETTINGS['WGER_INSTANCE'],help=f'Remote URL to fetch the images from (default: WGER_SETTINGS'- f'["WGER_INSTANCE"] - {settings.WGER_SETTINGS["WGER_INSTANCE"]})'+ f'["WGER_INSTANCE"] - {settings.WGER_SETTINGS["WGER_INSTANCE"]})')def handle(self, **options):diff --git a/wger/exercises/management/commands/download-exercise-videos.py b/wger/exercises/management/commands/download-exercise-videos.pyindex 76b007cfe..4bd8edd57 100644--- a/wger/exercises/management/commands/download-exercise-videos.py+++ b/wger/exercises/management/commands/download-exercise-videos.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modify@@ -47,7 +45,7 @@ class Command(BaseCommand):dest='remote_url',default='https://wger.de',help='Remote URL to fetch the exercises from (default: '- 'https://wger.de)'+ 'https://wger.de)')def handle(self, **options):diff --git a/wger/exercises/management/commands/exercise-cleanup.py b/wger/exercises/management/commands/exercise-cleanup.pyindex 94fefa1ab..d394e97a6 100755--- a/wger/exercises/management/commands/exercise-cleanup.py+++ b/wger/exercises/management/commands/exercise-cleanup.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/exercises/management/commands/read-exercise-cleanup.py b/wger/exercises/management/commands/read-exercise-cleanup.pyindex 187d8ce13..1c1b4a5be 100644--- a/wger/exercises/management/commands/read-exercise-cleanup.py+++ b/wger/exercises/management/commands/read-exercise-cleanup.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modify@@ -39,7 +37,6 @@ from wger.exercises.models import ()from wger.utils.constants import DEFAULT_LICENSE_ID-UUID_NEW = 'NEW'VIDEO_AUTHOR = 'Goulart'VIDEO_PATH = pathlib.Path('videos-tmp')diff --git a/wger/exercises/management/commands/submitted-exercises.py b/wger/exercises/management/commands/submitted-exercises.pyindex 110e74e63..ac7582f13 100644--- a/wger/exercises/management/commands/submitted-exercises.py+++ b/wger/exercises/management/commands/submitted-exercises.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/gym/management/commands/gym-user-config.py b/wger/gym/management/commands/gym-user-config.pyindex 51469a1d3..747424110 100644--- a/wger/gym/management/commands/gym-user-config.py+++ b/wger/gym/management/commands/gym-user-config.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/gym/management/commands/inactive-members.py b/wger/gym/management/commands/inactive-members.pyindex b7a7ba134..70bbdcba2 100644--- a/wger/gym/management/commands/inactive-members.py+++ b/wger/gym/management/commands/inactive-members.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/manager/management/commands/email-reminders.py b/wger/manager/management/commands/email-reminders.pyindex 439615d80..4316a2d47 100644--- a/wger/manager/management/commands/email-reminders.py+++ b/wger/manager/management/commands/email-reminders.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modify@@ -53,9 +51,9 @@ class Command(BaseCommand):# Check if we already notified the user and update the profile otherwiseif profile.last_workout_notification and \- (datetime.date.today()- - profile.last_workout_notification- < datetime.timedelta(weeks=1)):+ (datetime.date.today()+ - profile.last_workout_notification+ < datetime.timedelta(weeks=1)):continue(current_workout, schedule) = Schedule.objects.get_current_workout(profile.user)diff --git a/wger/nutrition/management/commands/download-ingredient-images.py b/wger/nutrition/management/commands/download-ingredient-images.pyindex 6e647a020..9a62b13db 100644--- a/wger/nutrition/management/commands/download-ingredient-images.py+++ b/wger/nutrition/management/commands/download-ingredient-images.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modify@@ -54,7 +52,7 @@ class Command(BaseCommand):dest='remote_url',default=settings.WGER_SETTINGS['WGER_INSTANCE'],help=f'Remote URL to fetch the ingredients from (default: WGER_SETTINGS'- f'["WGER_INSTANCE"] - {settings.WGER_SETTINGS["WGER_INSTANCE"]})'+ f'["WGER_INSTANCE"] - {settings.WGER_SETTINGS["WGER_INSTANCE"]})')def handle(self, **options):diff --git a/wger/utils/tests/test_make_token.py b/wger/utils/tests/test_make_token.pyindex 6a3f60862..a497c2ebc 100644--- a/wger/utils/tests/test_make_token.py+++ b/wger/utils/tests/test_make_token.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modifydiff --git a/wger/weight/management/commands/email-weight-reminder.py b/wger/weight/management/commands/email-weight-reminder.pyindex db4aad609..8df8cfcab 100644--- a/wger/weight/management/commands/email-weight-reminder.py+++ b/wger/weight/management/commands/email-weight-reminder.py@@ -1,5 +1,3 @@-# -*- coding: utf-8 *-*-# This file is part of wger Workout Manager.## wger Workout Manager is free software: you can redistribute it and/or modify