From 9472e40fda60fe226efa8ed1123eeeede831acb2 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 12 Jan 2024 11:41:37 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Dev=20dependency=20update.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poetry.lock | 22 +++++++++++----------- pyproject.toml | 28 +++++++++++++++------------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/poetry.lock b/poetry.lock index a084841..19734b7 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1892,30 +1892,30 @@ files = [ [[package]] name = "tox" -version = "4.11.4" +version = "4.12.0" description = "tox is a generic virtualenv management and test command line tool" optional = false python-versions = ">=3.8" files = [ - {file = "tox-4.11.4-py3-none-any.whl", hash = "sha256:2adb83d68f27116812b69aa36676a8d6a52249cb0d173649de0e7d0c2e3e7229"}, - {file = "tox-4.11.4.tar.gz", hash = "sha256:73a7240778fabf305aeb05ab8ea26e575e042ab5a18d71d0ed13e343a51d6ce1"}, + {file = "tox-4.12.0-py3-none-any.whl", hash = "sha256:c94bf5852ba41f3d9f1e3470ccf3390e0b7bdc938095be3cd96dce25ab5062a0"}, + {file = "tox-4.12.0.tar.gz", hash = "sha256:76adc53a3baff7bde80d6ad7f63235735cfc5bc42e8cb6fccfbf62cb5ffd4d92"}, ] [package.dependencies] -cachetools = ">=5.3.1" +cachetools = ">=5.3.2" chardet = ">=5.2" colorama = ">=0.4.6" -filelock = ">=3.12.3" -packaging = ">=23.1" -platformdirs = ">=3.10" +filelock = ">=3.13.1" +packaging = ">=23.2" +platformdirs = ">=4.1" pluggy = ">=1.3" pyproject-api = ">=1.6.1" tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""} -virtualenv = ">=20.24.3" +virtualenv = ">=20.25" [package.extras] -docs = ["furo (>=2023.8.19)", "sphinx (>=7.2.4)", "sphinx-argparse-cli (>=1.11.1)", "sphinx-autodoc-typehints (>=1.24)", "sphinx-copybutton (>=0.5.2)", "sphinx-inline-tabs (>=2023.4.21)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.6)"] -testing = ["build[virtualenv] (>=0.10)", "covdefaults (>=2.3)", "detect-test-pollution (>=1.1.1)", "devpi-process (>=1)", "diff-cover (>=7.7)", "distlib (>=0.3.7)", "flaky (>=3.7)", "hatch-vcs (>=0.3)", "hatchling (>=1.18)", "psutil (>=5.9.5)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)", "pytest-xdist (>=3.3.1)", "re-assert (>=1.1)", "time-machine (>=2.12)", "wheel (>=0.41.2)"] +docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-argparse-cli (>=1.11.1)", "sphinx-autodoc-typehints (>=1.25.2)", "sphinx-copybutton (>=0.5.2)", "sphinx-inline-tabs (>=2023.4.21)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.11)"] +testing = ["build[virtualenv] (>=1.0.3)", "covdefaults (>=2.3)", "detect-test-pollution (>=1.2)", "devpi-process (>=1)", "diff-cover (>=8.0.2)", "distlib (>=0.3.8)", "flaky (>=3.7)", "hatch-vcs (>=0.4)", "hatchling (>=1.21)", "psutil (>=5.9.7)", "pytest (>=7.4.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-xdist (>=3.5)", "re-assert (>=1.1)", "time-machine (>=2.13)", "wheel (>=0.42)"] [[package]] name = "typer" @@ -2048,4 +2048,4 @@ gui = ["pyqtdarktheme", "pyside6"] [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.12" -content-hash = "8b9481818b34bdac09a32e4438c5313a1398183f8920c19a34596f0a41d2a6fa" +content-hash = "0582e2e6e2ba654a9abbefabbec7c2107d1de5dd7506e9b6a4af394cbb24967c" diff --git a/pyproject.toml b/pyproject.toml index 1145492..80afecd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,21 +50,21 @@ gui = ["pyside6", "pyqtdarktheme"] optional = true [tool.poetry.group.dev.dependencies] -pytest = "^7.4.3" +pytest = "^7.4.4" deptry = "^0.12.0" -mypy = "^1.7.1" -pre-commit = "^3.5.0" -tox = "^4.11.4" +mypy = "^1.8.0" +pre-commit = "^3.6.0" +tox = "^4.12.0" pyupgrade = "^3.15.0" -bandit = "^1.7.5" -black = "^23.11.0" +bandit = "^1.7.6" +black = "^23.12.1" darglint = "^1.8.1" -isort = { extras = ["colors"], version = "^5.12.0" } +isort = { extras = ["colors"], version = "^5.13.2" } mypy-extensions = "^1.0.0" pydocstyle = "^6.3.0" -pylint = "^3.0.2" +pylint = "^3.0.3" pyinstaller = "^6.3.0" -pillow = "^10.1.0" +pillow = "^10.2.0" [tool.poetry.group.docs] optional = true @@ -124,7 +124,10 @@ ignore = [ # DoNotAssignLambda "E731", # Do not use bare `except` - "E722" + "E722", + # PEP 484 prohibits implicit `Optional` + # Disabled only temporarely. + "RUF013" ] [tool.ruff.per-file-ignores] @@ -141,7 +144,6 @@ preview = true exclude = ''' /( \.git - | \.hg | \.mypy_cache | \.tox | \.venv @@ -151,6 +153,8 @@ exclude = ''' | dist | env | venv + | site + | docs )/ ''' @@ -167,8 +171,6 @@ indent = 4 color_output = true known_third_party = ["Crypto", "PySide6", "coloredlogs", "constants", "dataclasses_json", "ffmpeg", "m3u8", "mutagen", "pathvalidate", "requests", "rich", "tidalapi", "typer"] - - [tool.mypy] # https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file files = ["tidal_dl_ng"]