1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Sort imports

This commit is contained in:
Mo 2023-11-02 18:47:52 +01:00
parent 897f3c57f8
commit 907951a49f
3 changed files with 8 additions and 3 deletions

View file

@ -1,8 +1,9 @@
import subprocess
from datetime import datetime from datetime import datetime
from flask import flash from flask import flash
from flask_login import current_user from flask_login import current_user
from sqlalchemy import select from sqlalchemy import select
import subprocess
from . import data_dir from . import data_dir
from .models import Assistant, Semester, User, db from .models import Assistant, Semester, User, db

View file

@ -28,7 +28,11 @@ from wtforms.validators import URL, DataRequired, Email, NumberRange, Optional
from wtforms.widgets import NumberInput from wtforms.widgets import NumberInput
from . import data_dir, user_datastore from . import data_dir, user_datastore
from .actions import deactivate_assistants, update_final_experiment_and_part_marks, manual_backup from .actions import (
deactivate_assistants,
manual_backup,
update_final_experiment_and_part_marks,
)
from .admin_link_formatters import ( from .admin_link_formatters import (
admin_formatter, admin_formatter,
appointment_date_formatter, appointment_date_formatter,

View file

@ -4,8 +4,8 @@ from pathlib import Path
from flask import flash from flask import flash
from sqlalchemy import select from sqlalchemy import select
from .exceptions import DatabaseImportException
from .actions import backup from .actions import backup
from .exceptions import DatabaseImportException
from .models import ( from .models import (
Appointment, Appointment,
Assistant, Assistant,