Merge pull request #456 from exislow/dependency-update

✨ Dependency update. pyproject.toml fixes. isort-seed removal.
This commit is contained in:
exislow
2025-06-27 12:13:56 +02:00
committed by GitHub
3 changed files with 530 additions and 467 deletions
+1 -6
View File
@@ -1,7 +1,7 @@
default_language_version:
python: python3.12
default_stages: [commit, push]
default_stages: [pre-commit, pre-push]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -40,11 +40,6 @@ repos:
# types: [python]
# language: system
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
# Disabled du to conflicts with black and I like the style of black more.
# - repo: local
# hooks:
Generated
+467 -427
View File
File diff suppressed because it is too large Load Diff
+62 -34
View File
@@ -1,16 +1,9 @@
[project]
name = "tidal-dl-ng"
authors = [
{name = "Robert Honz",email = "<cen.sored@gmail.com>"}
]
authors = [{ name = "Robert Honz", email = "<cen.sored@gmail.com>" }]
version = "0.25.7"
description = "TIDAL Medial Downloader Next Generation!"
repository = "https://github.com/exislow/tidal-dl-ng"
documentation = "https://exislow.github.io/tidal-dl-ng/"
readme = "README.md"
packages = [
{ include = "tidal_dl_ng" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
@@ -21,28 +14,35 @@ classifiers = [
requires-python = ">=3.12,<3.13"
dynamic = ["dependencies"]
[project.urls]
repository = "https://github.com/exislow/tidal-dl-ng"
documentation = "https://exislow.github.io/tidal-dl-ng/"
[project.scripts]
tidal-dl-ng = "tidal_dl_ng.cli:app"
tidal-dl-ng-gui = "tidal_dl_ng.gui:gui_activate"
tdn = "tidal_dl_ng.cli:app"
tdng = "tidal_dl_ng.gui:gui_activate"
[tool.poetry]
packages = [{ include = "tidal_dl_ng" }]
[tool.poetry.dependencies]
requests = "~2.32.3"
requests = "~2.32.4"
mutagen = "^1.47.0"
dataclasses-json = "^0.6.7"
pathvalidate = "^3.2.3"
pathvalidate = "^3.3.1"
m3u8 = "^6.0.0"
coloredlogs = "^15.0.1"
pyside6 = {version = "6.8.0.1", optional = true}
pyqtdarktheme-fork = {version = "^2.3.2", optional = true}
pyside6 = { version = "6.8.0.1", optional = true }
pyqtdarktheme-fork = { version = "^2.3.2", optional = true }
mpegdash = "^0.4.0"
rich = "^13.9.4"
rich = "^14.0.0"
toml = "^0.10.2"
typer = "^0.15.2"
typer = "^0.16.0"
tidalapi = "^0.8.3"
python-ffmpeg = "^2.0.12"
pycryptodome = "^3.22.0"
pycryptodome = "^3.23.0"
[project.optional-dependencies]
gui = ["pyside6", "pyqtdarktheme-fork"]
@@ -51,20 +51,20 @@ gui = ["pyside6", "pyqtdarktheme-fork"]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
deptry = "^0.20.0"
mypy = "^1.13.0"
pre-commit = "^4.0.1"
tox = "^4.23.2"
pyupgrade = "^3.19.0"
bandit = "^1.7.10"
pytest = "^8.4.1"
deptry = "^0.23.0"
mypy = "^1.16.1"
pre-commit = "^4.2.0"
tox = "^4.27.0"
pyupgrade = "^3.20.0"
bandit = "^1.8.5"
darglint = "^1.8.1"
isort = { extras = ["colors"], version = "^5.13.2" }
mypy-extensions = "^1.0.0"
isort = { extras = ["colors"], version = "^6.0.1" }
mypy-extensions = "^1.1.0"
pydocstyle = "^6.3.0"
pylint = "^3.3.6"
pillow = "^11.1.0"
pytest-cov = "^6.0.0"
pylint = "^3.3.7"
pillow = "^11.2.1"
pytest-cov = "^6.2.1"
black = "^25.1.0"
nuitka = "^2.6.9"
@@ -109,7 +109,8 @@ select = [
# mccabe
"C90",
# pycodestyle
"E", "W",
"E",
"W",
# pyflakes
"F",
# pygrep-hooks
@@ -130,7 +131,7 @@ ignore = [
"E722",
# PEP 484 prohibits implicit `Optional`
# Disabled only temporarely.
"RUF013"
"RUF013",
]
[tool.ruff.per-file-ignores]
@@ -167,14 +168,41 @@ exclude = '''
# https://github.com/timothycrosley/isort/
py_version = 312
line_length = 120
known_typing = ["typing", "types", "typing_extensions", "mypy", "mypy_extensions"]
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
known_typing = [
"typing",
"types",
"typing_extensions",
"mypy",
"mypy_extensions",
]
sections = [
"FUTURE",
"TYPING",
"STDLIB",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
include_trailing_comma = true
profile = "black"
multi_line_output = 3
indent = 4
color_output = true
known_third_party = ["Crypto", "PySide6", "coloredlogs", "dataclasses_json", "ffmpeg", "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
@@ -201,5 +229,5 @@ warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
disallow_untyped_defs = "True"
disallow_any_unimported = "True"
disallow_untyped_defs = true
disallow_any_unimported = true