used isort + black

This commit is contained in:
hhh
2024-11-02 00:10:44 +02:00
parent e0a3d256d5
commit ff22636453
93 changed files with 216 additions and 295 deletions

View File

@@ -1,6 +1,6 @@
from .youtube import YouTube
from pytubefix.exceptions import AgeRestrictedError
from .youtube import YouTube
youtube = YouTube()

View File

@@ -1,12 +1,10 @@
from attrs import define
from pytubefix import YouTube, Stream
from pydub import AudioSegment
import asyncio
from concurrent.futures import ThreadPoolExecutor
from io import BytesIO
from concurrent.futures import ThreadPoolExecutor
import asyncio
from attrs import define
from pydub import AudioSegment
from pytubefix import Stream, YouTube
@define

View File

@@ -1,11 +1,10 @@
from attrs import define
import ytmusicapi
from .downloader import Downloader, YouTubeBytestream
from typing import Awaitable
import ytmusicapi
from attrs import define
from ..common.song import BaseSongItem
from .downloader import Downloader, YouTubeBytestream
@define

View File

@@ -1,7 +1,7 @@
import ytmusicapi
from .song import Songs
from .downloader import Downloader
from .song import Songs
class YouTube(object):