WIP: clean up imports

This commit is contained in:
Keith Edmunds 2025-04-04 16:17:51 +01:00
parent ed7ac0758c
commit 2fce0b34be
2 changed files with 3 additions and 8 deletions

View File

@ -21,20 +21,14 @@ from PyQt6.QtWidgets import (
) )
# Third party imports # Third party imports
from sqlalchemy.orm.session import Session
# App imports # App imports
from classes import ApplicationError, InsertTrack, MusicMusterSignals from classes import ApplicationError, InsertTrack, MusicMusterSignals
from helpers import ( from helpers import (
ask_yes_no,
get_relative_date, get_relative_date,
ms_to_mmss, ms_to_mmss,
) )
from log import log
from models import Settings, Tracks
from playlistmodel import PlaylistModel
import repository import repository
from ui import dlg_TrackSelect_ui
class TrackInsertDialog(QDialog): class TrackInsertDialog(QDialog):

View File

@ -4,7 +4,6 @@ from dataclasses import dataclass, field
from fuzzywuzzy import fuzz # type: ignore from fuzzywuzzy import fuzz # type: ignore
import os.path import os.path
import threading import threading
from typing import Optional, Sequence
import os import os
import shutil import shutil
@ -37,13 +36,15 @@ from classes import (
from config import Config from config import Config
from helpers import ( from helpers import (
file_is_unreadable, file_is_unreadable,
get_audio_metadata,
get_tags, get_tags,
normalise_track,
show_OK, show_OK,
) )
from log import log from log import log
from playlistrow import TrackSequence from playlistrow import TrackSequence
from playlistmodel import PlaylistModel from playlistmodel import PlaylistModel
import helpers import repository
@dataclass @dataclass