isort
This commit is contained in:
parent
585a432bc9
commit
64eb1e83ab
9 changed files with 28 additions and 17 deletions
4
pyproject.toml
Normal file
4
pyproject.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
line_length = 100
|
||||||
|
force_single_line = true
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
black==21.11b1
|
|
||||||
argparse==1.4.0
|
argparse==1.4.0
|
||||||
|
black==21.11b1
|
||||||
|
coverage==6.3.2
|
||||||
dicttoxml==1.7.4
|
dicttoxml==1.7.4
|
||||||
|
isort==5.10.1
|
||||||
mergedeep==1.3.4
|
mergedeep==1.3.4
|
||||||
music-tag==0.4.3
|
music-tag==0.4.3
|
||||||
pathvalidate==2.4.1
|
pathvalidate==2.4.1
|
||||||
Pillow==8.3.2
|
Pillow==8.3.2
|
||||||
|
pytest==7.1.1
|
||||||
pyYAML==5.4.1
|
pyYAML==5.4.1
|
||||||
sanitize-filename==1.2.0
|
sanitize-filename==1.2.0
|
||||||
yt-dlp==2021.9.2
|
yt-dlp==2021.9.2
|
||||||
pytest==7.1.1
|
|
||||||
coverage==6.3.2
|
|
||||||
3
setup.py
3
setup.py
|
|
@ -1,4 +1,5 @@
|
||||||
from setuptools import setup, find_packages
|
from setuptools import find_packages
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="ytdl_subscribe",
|
name="ytdl_subscribe",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
import re
|
import re
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any, Dict, Optional, List
|
from typing import Any
|
||||||
|
from typing import Dict
|
||||||
|
from typing import List
|
||||||
|
from typing import Optional
|
||||||
|
|
||||||
from sanitize_filename import sanitize
|
from sanitize_filename import sanitize
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
from typing import List, Type, Dict
|
from typing import Dict
|
||||||
|
from typing import List
|
||||||
|
from typing import Type
|
||||||
|
|
||||||
from sanitize_filename import sanitize
|
from sanitize_filename import sanitize
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
import argparse
|
import argparse
|
||||||
from ytdl_subscribe.parse import (
|
|
||||||
parse_subscriptions,
|
from ytdl_subscribe.parse import parse_presets
|
||||||
parse_subscriptions_file,
|
from ytdl_subscribe.parse import parse_subscriptions
|
||||||
parse_presets,
|
from ytdl_subscribe.parse import parse_subscriptions_file
|
||||||
)
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description="YoutubeDL-Subscribe: Download and organize your favorite media easily."
|
description="YoutubeDL-Subscribe: Download and organize your favorite media easily."
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,10 @@
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from mergedeep import mergedeep
|
from mergedeep import mergedeep
|
||||||
|
|
||||||
from ytdl_subscribe.subscriptions.subscription import Subscription
|
|
||||||
|
|
||||||
from ytdl_subscribe.enums import YAMLSection
|
from ytdl_subscribe.enums import YAMLSection
|
||||||
|
from ytdl_subscribe.subscriptions.subscription import Subscription
|
||||||
|
|
||||||
|
|
||||||
def _set_config_variables(config):
|
def _set_config_variables(config):
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
from typing import List, Type
|
from typing import List
|
||||||
|
from typing import Type
|
||||||
|
|
||||||
import yt_dlp as ytdl
|
import yt_dlp as ytdl
|
||||||
|
|
||||||
from ytdl_subscribe import SubscriptionSource
|
from ytdl_subscribe import SubscriptionSource
|
||||||
from ytdl_subscribe.entries.soundcloud import SoundcloudAlbum, SoundcloudTrack
|
from ytdl_subscribe.entries.soundcloud import SoundcloudAlbum
|
||||||
|
from ytdl_subscribe.entries.soundcloud import SoundcloudTrack
|
||||||
from ytdl_subscribe.subscriptions.subscription import Subscription
|
from ytdl_subscribe.subscriptions.subscription import Subscription
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue