diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 968ea9c..eef069f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: args: - --safe - --quiet - files: ^(async_upnp_client|tests)/.+\.py$ + files: ^(didl_lite|tests)/.+\.py$ - repo: https://github.com/codespell-project/codespell rev: 'v2.4.1' hooks: @@ -28,7 +28,7 @@ repos: additional_dependencies: - flake8-docstrings==1.6.0 - pydocstyle==6.1.1 - files: ^(async_upnp_client|tests)/.+\.py$ + files: ^(didl_lite|tests)/.+\.py$ - repo: https://github.com/PyCQA/isort rev: '7.0.0' hooks: @@ -42,5 +42,5 @@ repos: args: [--ignore-missing-imports] additional_dependencies: - aiohttp>=3.7.4 - - pytest~=6.2.4 - files: ^(async_upnp_client|tests)/.+\.py$ + - pytest~=9.0.2 + files: ^(didl_lite|tests)/.+\.py$ diff --git a/pyproject.toml b/pyproject.toml index 66e685e..b4f8c74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dynamic = ["version"] [project.optional-dependencies] test = [ - "pytest>=7.4.3,<8.5.0", + "pytest~=9.0.2", ] [tool.setuptools] diff --git a/tox.ini b/tox.ini index c5c349e..11c3523 100644 --- a/tox.ini +++ b/tox.ini @@ -13,11 +13,9 @@ python = commands = py.test --cov=didl_lite --cov-report=term --cov-report=xml:coverage-{env_name}.xml {posargs} ignore_errors = True deps = - pytest == 7.4.3 - pytest-asyncio ~= 0.23.2 + pytest == 9.0.2 pytest-cov ~= 4.1.0 coverage ~= 7.3.3 - asyncmock ~= 0.4.2 [testenv:flake8] basepython = python3 @@ -34,7 +32,7 @@ basepython = python3 ignore_errors = True deps = pylint ~= 3.0.3 - pytest == 7.4.3 + pytest == 9.0.2 commands = pylint didl_lite tests [testenv:codespell] @@ -49,7 +47,7 @@ basepython = python3 ignore_errors = True deps = mypy ~= 1.7.1 - pytest == 7.4.3 + pytest == 9.0.2 commands = mypy --ignore-missing-imports didl_lite tests [testenv:black]