diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index f9c1377c..495dbc91 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -21,8 +21,7 @@ jobs: - name: Run tox for Django run: | cd ./API - tox -e isort - tox -e black + tox - name: Run tox for Client Listener run: | cd ./Client/Listener diff --git a/API/authenticate/views.py b/API/authenticate/views.py index 3721c513..86e9d367 100644 --- a/API/authenticate/views.py +++ b/API/authenticate/views.py @@ -7,10 +7,7 @@ from rest_framework.response import Response from rest_framework.views import APIView from rest_framework_simplejwt.tokens import RefreshToken -from rest_framework_simplejwt.views import ( - TokenObtainPairView, - TokenRefreshView, -) +from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView from authenticate.serializers import ( APIReturnTokenSerializer, diff --git a/API/hardware/admin.py b/API/hardware/admin.py index 07871c01..1c00af50 100644 --- a/API/hardware/admin.py +++ b/API/hardware/admin.py @@ -1,4 +1,5 @@ from django.contrib import admin +from django.utils.translation import gettext_lazy as _ from import_export.admin import ImportExportModelAdmin from hardware.models import ( @@ -12,7 +13,6 @@ ResSpeech, ResText, ) -from django.utils.translation import gettext_lazy as _ from orchestrator.chain.manager import CLUSTERS diff --git a/API/orchestrator/apps.py b/API/orchestrator/apps.py index c0513e5b..1949bf5e 100644 --- a/API/orchestrator/apps.py +++ b/API/orchestrator/apps.py @@ -5,7 +5,7 @@ class WorkerConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" name = "orchestrator" - def ready(self): # noqa + def ready(self): # noqa # Import signals import orchestrator.chain.completed_emotion_detection import orchestrator.chain.completed_hf_llm