Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Automatic linting

Github-actionse7626c7b4bbe
diff --git a/wger/manager/api/views.py b/wger/manager/api/views.py
index c9a7bc813..06fe69242 100644
--- a/wger/manager/api/views.py
+++ b/wger/manager/api/views.py
@@ -19,6 +19,7 @@
from django.conf import settings
from django.core.cache import cache
from django.db.models import Q
+
# Third Party
from rest_framework import viewsets
from rest_framework.decorators import action
diff --git a/wger/manager/models/routine.py b/wger/manager/models/routine.py
index 88d3bdf9a..7f3fc6c93 100644
--- a/wger/manager/models/routine.py
+++ b/wger/manager/models/routine.py
@@ -52,6 +52,7 @@ from wger.manager.models import (
)
from wger.utils.cache import CacheKeyMapper
+
logger = logging.getLogger(__name__)
diff --git a/wger/manager/tests/test_copy_routine.py b/wger/manager/tests/test_copy_routine.py
index c11517b13..bb1cc924d 100644
--- a/wger/manager/tests/test_copy_routine.py
+++ b/wger/manager/tests/test_copy_routine.py
@@ -11,8 +11,8 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
-import datetime
# Standard Library
+import datetime
import logging
# Django
@@ -22,6 +22,7 @@ from django.urls import reverse
from wger.core.tests.base_testcase import WgerTestCase
from wger.manager.models import Routine
+
logger = logging.getLogger(__name__)
diff --git a/wger/manager/views/routine.py b/wger/manager/views/routine.py
index 0aab7bc44..9475c6b42 100644
--- a/wger/manager/views/routine.py
+++ b/wger/manager/views/routine.py
@@ -35,6 +35,7 @@ from wger.manager.models import (
SlotEntry,
)
+
logger = logging.getLogger(__name__)