Self hosted FLOSS fitness/workout, nutrition and weight tracker
Cleanup unused imports
Roland Geider20415545ae3a
diff --git a/wger/core/management/commands/setup-powersync-storage.py b/wger/core/management/commands/setup-powersync-storage.pyindex 8f787783e..dab3c5395 100644--- a/wger/core/management/commands/setup-powersync-storage.py+++ b/wger/core/management/commands/setup-powersync-storage.py@@ -14,7 +14,6 @@# along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.# Standard Library-import os# Djangofrom django.conf import settingsdiff --git a/wger/core/tests/test_app_auth_handoff.py b/wger/core/tests/test_app_auth_handoff.pyindex 53b097f6d..bcadc0f16 100644--- a/wger/core/tests/test_app_auth_handoff.py+++ b/wger/core/tests/test_app_auth_handoff.py@@ -14,7 +14,6 @@# Standard Libraryfrom urllib.parse import (- parse_qs,urlparse,)diff --git a/wger/core/tests/test_language.py b/wger/core/tests/test_language.pyindex c4b6004f2..6b1fc7da3 100644--- a/wger/core/tests/test_language.py+++ b/wger/core/tests/test_language.py@@ -17,7 +17,6 @@# Djangofrom django.urls import (- reverse,reverse_lazy,)diff --git a/wger/exercises/management/commands/exercises-health-check.py b/wger/exercises/management/commands/exercises-health-check.pyindex 167f540a5..2a84ee5b3 100644--- a/wger/exercises/management/commands/exercises-health-check.py+++ b/wger/exercises/management/commands/exercises-health-check.py@@ -13,7 +13,6 @@# You should have received a copy of the GNU Affero General Public License# Standard Library-import collectionsfrom argparse import RawTextHelpFormatter# Djangodiff --git a/wger/exercises/urls.py b/wger/exercises/urls.pyindex 53e02160f..3631c1761 100644--- a/wger/exercises/urls.py+++ b/wger/exercises/urls.py@@ -19,7 +19,6 @@from django.conf.urls import includefrom django.urls import (path,- re_path,)# wgerdiff --git a/wger/gym/apps.py b/wger/gym/apps.pyindex 533bd33b5..573dfd523 100644--- a/wger/gym/apps.py+++ b/wger/gym/apps.py@@ -23,4 +23,4 @@ class GymConfig(AppConfig):verbose_name = 'Gym'def ready(self):- import wger.gym.signals+ import wger.gym.signals # noqa: F401diff --git a/wger/manager/management/commands/reset-routine-cache.py b/wger/manager/management/commands/reset-routine-cache.pyindex eb6f43a64..7f6cc0963 100644--- a/wger/manager/management/commands/reset-routine-cache.py+++ b/wger/manager/management/commands/reset-routine-cache.py@@ -12,7 +12,6 @@## You should have received a copy of the GNU Affero General Public License# Standard Library-from typing import Any# Djangofrom django.core.management.base import BaseCommanddiff --git a/wger/manager/models/session.py b/wger/manager/models/session.pyindex df641f148..9baa40e0b 100644--- a/wger/manager/models/session.py+++ b/wger/manager/models/session.py@@ -16,7 +16,6 @@# Standard Libraryimport datetime-from uuid import uuid4# Djangofrom django.conf import settingsdiff --git a/wger/nutrition/tests/test_meal_item.py b/wger/nutrition/tests/test_meal_item.pyindex 9876247ed..7a43e540f 100644--- a/wger/nutrition/tests/test_meal_item.py+++ b/wger/nutrition/tests/test_meal_item.py@@ -18,7 +18,6 @@ from wger.core.tests import api_base_testfrom wger.core.tests.base_testcase import WgerTestCasefrom wger.nutrition.forms import MealItemFormfrom wger.nutrition.models import (- IngredientWeightUnit,MealItem,)diff --git a/wger/trophies/api/views.py b/wger/trophies/api/views.pyindex 9379741db..17c38a30f 100644--- a/wger/trophies/api/views.py+++ b/wger/trophies/api/views.py@@ -16,7 +16,6 @@# Third Partyfrom drf_spectacular.utils import (- OpenApiResponse,extend_schema,)from rest_framework import viewsetsdiff --git a/wger/trophies/checkers/time_based.py b/wger/trophies/checkers/time_based.pyindex 8781f255f..3aaebb10b 100644--- a/wger/trophies/checkers/time_based.py+++ b/wger/trophies/checkers/time_based.py@@ -17,7 +17,6 @@# Standard Libraryimport datetimefrom typing import (- Any,Optional,)diff --git a/wger/utils/cache.py b/wger/utils/cache.pyindex 78ffecd95..525a7f317 100644--- a/wger/utils/cache.py+++ b/wger/utils/cache.py@@ -17,7 +17,6 @@ import logging# Djangofrom django.core.cache import cache-from django.core.cache.utils import make_template_fragment_keylogger = logging.getLogger(__name__)diff --git a/wger/utils/validators.py b/wger/utils/validators.pyindex 8e848f76f..4a7de7a0b 100644--- a/wger/utils/validators.py+++ b/wger/utils/validators.py@@ -4,7 +4,6 @@ from django.utils.dateparse import (parse_date,parse_datetime,)-from django.utils.translation import gettext_lazy as _# wgerfrom wger.core.models import Languagediff --git a/wger/weight/forms.py b/wger/weight/forms.pyindex 1efa0ed10..7fca4fddc 100644--- a/wger/weight/forms.py+++ b/wger/weight/forms.py@@ -18,7 +18,6 @@from django import formsfrom django.forms import (CharField,- DateTimeField,Form,Textarea,)