| 1 |
[tox] |
| 2 |
envlist = py310, py311, py312, py313, py314, ruff, pylint, codespell, mypy, deptry |
| 3 |
|
| 4 |
[gh-actions] |
| 5 |
python = |
| 6 |
3.10: py310 |
| 7 |
3.11: py311 |
| 8 |
3.12: py312, ruff, pylint, codespell, mypy, deptry |
| 9 |
3.13: py313 |
| 10 |
3.14: py314 |
| 11 |
|
| 12 |
[testenv] |
| 13 |
commands = py.test --cov=async_upnp_client --cov-report=term --cov-report=xml:coverage-{env_name}.xml {posargs} |
| 14 |
ignore_errors = True |
| 15 |
deps = -r requirements/tox-testenv/requirements.txt |
| 16 |
|
| 17 |
[testenv:ruff] |
| 18 |
basepython = python3 |
| 19 |
ignore_errors = True |
| 20 |
deps = -r requirements/tox-ruff/requirements.txt |
| 21 |
commands = |
| 22 |
ruff check async_upnp_client tests |
| 23 |
ruff format --check async_upnp_client tests |
| 24 |
|
| 25 |
[testenv:pylint] |
| 26 |
basepython = python3 |
| 27 |
ignore_errors = True |
| 28 |
deps = -r requirements/tox-pylint/requirements.txt |
| 29 |
commands = pylint async_upnp_client tests |
| 30 |
|
| 31 |
[testenv:codespell] |
| 32 |
basepython = python3 |
| 33 |
ignore_errors = True |
| 34 |
deps = -r requirements/tox-codespell/requirements.txt |
| 35 |
commands = codespell async_upnp_client tests |
| 36 |
|
| 37 |
[testenv:mypy] |
| 38 |
basepython = python3 |
| 39 |
ignore_errors = True |
| 40 |
deps = -r requirements/tox-mypy/requirements.txt |
| 41 |
commands = mypy --ignore-missing-imports async_upnp_client tests |
| 42 |
|
| 43 |
[testenv:deptry] |
| 44 |
basepython = python3 |
| 45 |
ignore_errors = True |
| 46 |
deps = -r requirements/tox-deptry/requirements.txt |
| 47 |
commands = deptry async_upnp_client |