streamrip/pyproject.toml

92 lines
2.4 KiB
TOML
Raw Permalink Normal View History

[tool.poetry]
name = "streamrip"
2024-01-24 21:21:18 +01:00
version = "2.0.5"
description = "A fast, all-in-one music ripper for Qobuz, Deezer, Tidal, and SoundCloud"
authors = ["nathom <nathanthomas707@gmail.com>"]
license = "GPL-3.0-only"
readme = "README.md"
homepage = "https://github.com/nathom/streamrip"
repository = "https://github.com/nathom/streamrip"
2023-10-13 20:38:50 +02:00
include = ["src/config.toml"]
2022-01-16 17:59:30 +01:00
keywords = ["hi-res", "free", "music", "download"]
classifiers = [
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
2023-10-13 20:38:50 +02:00
]
packages = [{ include = "streamrip" }]
[tool.poetry.scripts]
2023-11-25 05:38:31 +01:00
rip = "streamrip.rip:rip"
[tool.poetry.dependencies]
2023-10-29 22:42:10 +01:00
python = ">=3.10 <4.0"
mutagen = "^1.45.1"
tomlkit = "^0.7.2"
pathvalidate = "^2.4.1"
simple-term-menu = { version = "^1.2.1", platform = 'darwin|linux' }
pick = { version = "^2", platform = 'win32|cygwin' }
windows-curses = { version = "^2.2.0", platform = 'win32|cygwin' }
Pillow = ">=9,<11"
2022-01-16 17:18:06 +01:00
deezer-py = "1.3.6"
2021-07-28 23:24:16 +02:00
pycryptodomex = "^3.10.1"
2021-07-30 20:20:36 +02:00
appdirs = "^1.4.4"
m3u8 = "^0.9.0"
2023-09-22 04:19:30 +02:00
aiofiles = "^0.7"
2023-12-02 04:34:47 +01:00
aiohttp = "^3.9"
2021-09-12 07:04:45 +02:00
aiodns = "^3.0.0"
2023-09-22 04:19:30 +02:00
aiolimiter = "^1.1.0"
2023-10-13 20:38:50 +02:00
pytest-mock = "^3.11.1"
2023-10-22 09:07:17 +02:00
pytest-asyncio = "^0.21.1"
rich = "^13.6.0"
2023-10-29 22:42:10 +01:00
click-help-colors = "^0.9.2"
[tool.poetry.urls]
"Bug Reports" = "https://github.com/nathom/streamrip/issues"
[tool.poetry.dev-dependencies]
2021-07-28 23:24:16 +02:00
types-click = "^7.1.2"
types-Pillow = "^8.3.1"
2023-12-22 05:37:22 +01:00
ruff = "^0.1"
black = "^24"
2021-07-30 20:20:36 +02:00
isort = "^5.9.3"
2021-07-31 04:13:12 +02:00
flake8 = "^3.9.2"
2023-03-17 03:53:03 +01:00
setuptools = "^67.4.0"
2023-10-22 09:07:17 +02:00
pytest = "^7.4"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
2023-10-22 09:07:17 +02:00
log_level = "DEBUG"
asyncio_mode = 'auto'
log_cli = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2023-12-21 07:20:36 +01:00
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
2023-12-21 22:17:41 +01:00
select = ["E4", "E7", "E9", "F", "I", "ASYNC", "N", "RUF", "ERA001"]
2023-12-21 07:20:36 +01:00
ignore = []
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"