From cc81d81553563a483bb84f1e9cfe5dd6046bc789 Mon Sep 17 00:00:00 2001 From: Livio Bieri Date: Thu, 29 Feb 2024 13:58:47 +0100 Subject: [PATCH] chore: format code --- .../learning_mentor/content/self_evaluation_feedback.py | 4 +--- .../migrations/0016_remove_learningunit_feedback_user.py | 7 +++---- server/vbv_lernwelt/self_evaluation_feedback/views.py | 5 +---- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/server/vbv_lernwelt/learning_mentor/content/self_evaluation_feedback.py b/server/vbv_lernwelt/learning_mentor/content/self_evaluation_feedback.py index 981ea710..b57c9e59 100644 --- a/server/vbv_lernwelt/learning_mentor/content/self_evaluation_feedback.py +++ b/server/vbv_lernwelt/learning_mentor/content/self_evaluation_feedback.py @@ -10,9 +10,7 @@ from vbv_lernwelt.learning_mentor.entities import ( MentorAssignmentStatusType, MentorCompletionStatus, ) -from vbv_lernwelt.learnpath.models import ( - LearningUnit, -) +from vbv_lernwelt.learnpath.models import LearningUnit from vbv_lernwelt.self_evaluation_feedback.models import SelfEvaluationFeedback logger = structlog.get_logger(__name__) diff --git a/server/vbv_lernwelt/learnpath/migrations/0016_remove_learningunit_feedback_user.py b/server/vbv_lernwelt/learnpath/migrations/0016_remove_learningunit_feedback_user.py index e0fbcac4..687ae1ef 100644 --- a/server/vbv_lernwelt/learnpath/migrations/0016_remove_learningunit_feedback_user.py +++ b/server/vbv_lernwelt/learnpath/migrations/0016_remove_learningunit_feedback_user.py @@ -4,14 +4,13 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('learnpath', '0015_set_feedback_user_mentor_for_vv'), + ("learnpath", "0015_set_feedback_user_mentor_for_vv"), ] operations = [ migrations.RemoveField( - model_name='learningunit', - name='feedback_user', + model_name="learningunit", + name="feedback_user", ), ] diff --git a/server/vbv_lernwelt/self_evaluation_feedback/views.py b/server/vbv_lernwelt/self_evaluation_feedback/views.py index 328b16f9..78dbf2b9 100644 --- a/server/vbv_lernwelt/self_evaluation_feedback/views.py +++ b/server/vbv_lernwelt/self_evaluation_feedback/views.py @@ -9,10 +9,7 @@ from vbv_lernwelt.core.models import User from vbv_lernwelt.core.serializers import UserSerializer from vbv_lernwelt.course.models import CourseCompletion, CourseSession from vbv_lernwelt.learning_mentor.models import LearningMentor -from vbv_lernwelt.learnpath.models import ( - Circle, - LearningUnit, -) +from vbv_lernwelt.learnpath.models import Circle, LearningUnit from vbv_lernwelt.notify.services import NotificationService from vbv_lernwelt.self_evaluation_feedback.models import ( CourseCompletionFeedback,