Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
ruff check vergeten
Browse files Browse the repository at this point in the history
  • Loading branch information
ALBERICLOOS committed Feb 25, 2024
1 parent ae3c775 commit 40e7632
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions backend/db/implementation/SqlSubmissionDAO.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from typing import List

from db.errors.database_errors import ItemNotFoundError, UniqueConstraintError
from db.errors.database_errors import ItemNotFoundError
from db.extensions import db
from db.interface.SubmissionDAO import SubmissionDAO
from db.models.models import Student, Subject, Teacher, Project, Group, Submission
from domain.models.models import SubjectDataclass, SubmissionDataclass
from db.models.models import Group, Student, Submission
from domain.models.models import SubmissionDataclass


class SqlSubmissionDAO(SubmissionDAO):
Expand Down
4 changes: 2 additions & 2 deletions backend/fill_database_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
from db.interface.ProjectDAO import ProjectDAO
from db.interface.StudentDAO import StudentDAO
from db.interface.SubjectDAO import SubjectDAO
from db.interface.SubmissionDAO import SubmissionDAO
from db.interface.TeacherDAO import TeacherDAO
from db.interface.UserDAO import UserDAO
from db.interface.SubmissionDAO import SubmissionDAO
from domain.models.models import GroupDataclass, ProjectDataclass, SubjectDataclass, UserDataclass, SubmissionDataclass
from domain.models.models import GroupDataclass, ProjectDataclass, SubjectDataclass, SubmissionDataclass, UserDataclass

if __name__ == "__main__":
with app.app_context():
Expand Down

0 comments on commit 40e7632

Please sign in to comment.