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