Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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$
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dynamic = ["version"]

[project.optional-dependencies]
test = [
"pytest>=7.4.3,<8.5.0",
"pytest~=9.0.2",
]

[tool.setuptools]
Expand Down
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand All @@ -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]
Expand Down
Loading