mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-23 11:37:08 -04:00
Sort imports
Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
parent
f8e186fb60
commit
7fdc07b448
5 changed files with 6 additions and 5 deletions
|
@ -23,7 +23,7 @@ from pathvalidate import sanitize_filepath
|
|||
|
||||
from . import converter
|
||||
from .clients import Client
|
||||
from .constants import FLAC_MAX_BLOCKSIZE, TRACK_FORMAT, FOLDER_FORMAT
|
||||
from .constants import FLAC_MAX_BLOCKSIZE, FOLDER_FORMAT, TRACK_FORMAT
|
||||
from .exceptions import (
|
||||
InvalidQuality,
|
||||
InvalidSourceError,
|
||||
|
|
|
@ -31,8 +31,8 @@ from .exceptions import (
|
|||
IneligibleError,
|
||||
InvalidAppIdError,
|
||||
InvalidAppSecretError,
|
||||
MissingCredentials,
|
||||
InvalidQuality,
|
||||
MissingCredentials,
|
||||
)
|
||||
from .spoofbuz import Spoofer
|
||||
from .utils import gen_threadsafe_session, get_quality
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
import copy
|
||||
import logging
|
||||
import click
|
||||
import os
|
||||
import shutil
|
||||
from pprint import pformat
|
||||
from typing import Any, Dict
|
||||
|
||||
import click
|
||||
import tomlkit
|
||||
|
||||
from .constants import CONFIG_DIR, CONFIG_PATH
|
||||
from . import __version__
|
||||
from .constants import CONFIG_DIR, CONFIG_PATH
|
||||
from .exceptions import InvalidSourceError
|
||||
|
||||
logger = logging.getLogger("streamrip")
|
||||
|
|
|
@ -8,6 +8,7 @@ from collections import OrderedDict
|
|||
from typing import Generator, Hashable, Iterable, Optional, Union
|
||||
|
||||
from .constants import (
|
||||
ALBUM_KEYS,
|
||||
COPYRIGHT,
|
||||
COVER_SIZES,
|
||||
FLAC_KEY,
|
||||
|
@ -16,7 +17,6 @@ from .constants import (
|
|||
PHON_COPYRIGHT,
|
||||
TIDAL_Q_MAP,
|
||||
TRACK_KEYS,
|
||||
ALBUM_KEYS,
|
||||
)
|
||||
from .exceptions import InvalidContainerError, InvalidSourceError
|
||||
from .utils import get_quality_id, safe_get, tidal_cover_url
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
"""Miscellaneous utility functions."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import base64
|
||||
import logging
|
||||
import os
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue