🛠️ Fixed import error.
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ profile = "black"
|
||||
multi_line_output = 3
|
||||
indent = 4
|
||||
color_output = true
|
||||
known_third_party = ["Crypto", "PySide6", "coloredlogs", "dataclasses_json", "ffmpeg", "helper", "m3u8", "mutagen", "pathvalidate", "requests", "rich", "tidalapi", "toml", "typer"]
|
||||
known_third_party = ["Crypto", "PySide6", "coloredlogs", "dataclasses_json", "ffmpeg", "m3u8", "mutagen", "pathvalidate", "requests", "rich", "tidalapi", "toml", "typer"]
|
||||
|
||||
[tool.mypy]
|
||||
# https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
|
||||
|
||||
+1
-1
@@ -6,7 +6,6 @@ from collections.abc import Callable, Sequence
|
||||
from PySide6.QtGui import QStandardItem
|
||||
from requests.exceptions import HTTPError
|
||||
|
||||
from helper.tidal import favorite_function_factory
|
||||
from tidal_dl_ng import __version__, update_available
|
||||
from tidal_dl_ng.dialog import DialogLogin, DialogPreferences, DialogVersion
|
||||
from tidal_dl_ng.helper.gui import (
|
||||
@@ -21,6 +20,7 @@ from tidal_dl_ng.helper.gui import (
|
||||
)
|
||||
from tidal_dl_ng.helper.path import get_format_template, resource_path
|
||||
from tidal_dl_ng.helper.tidal import (
|
||||
favorite_function_factory,
|
||||
get_tidal_media_id,
|
||||
get_tidal_media_type,
|
||||
instantiate_media,
|
||||
|
||||
@@ -5,8 +5,7 @@ from tidalapi.artist import Artist, Role
|
||||
from tidalapi.media import MediaMetadataTags, Quality
|
||||
from tidalapi.session import SearchTypes
|
||||
|
||||
from tidal_dl_ng.constants import FAVORITES
|
||||
from tidal_dl_ng.constants import MediaType
|
||||
from tidal_dl_ng.constants import FAVORITES, MediaType
|
||||
from tidal_dl_ng.helper.exceptions import MediaUnknown
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user