summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorexislow <exislow@users.noreply.github.com>2025-06-27 12:13:56 +0200
committerGitHub <noreply@github.com>2025-06-27 12:13:56 +0200
commita49381cfb02169dcd1dcf13080aa94ecd99eb24f (patch)
tree3ca3f6b8aedb97c2f352e1d88b4e16b7485e7fdd /pyproject.toml
parenta266e37f459e0d3492821dc10294980ae7dd466f (diff)
parenta2e8be4114038349255aa5d4437a2a956b74a501 (diff)
downloadtidal-dl-ng-a49381cfb02169dcd1dcf13080aa94ecd99eb24f.tar.gz
Merge pull request #456 from exislow/dependency-update
✨ Dependency update. pyproject.toml fixes. isort-seed removal.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml96
1 files changed, 62 insertions, 34 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 79d7e90..bd6f08d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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