forked from Velleman/python-linkplay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (26 loc) · 606 Bytes
/
tox.ini
File metadata and controls
30 lines (26 loc) · 606 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
minversion = 4.6.0
envlist = py{311,312},ruff,mypy
isolated_build = true
[gh-actions]
python =
3.11: py311, mypy, ruff
3.12: py312, mypy, ruff
3.13: py312, mypy, ruff
[testenv]
package = wheel
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
commands =
pytest --cov-report html:htmlcov/pytest --basetemp={envtmpdir}
[testenv:ruff]
deps = ruff
commands =
ruff check --fix --verbose src tests
ruff format --verbose src tests
[testenv:mypy]
deps =
-r{toxinidir}/requirements_dev.txt
commands = mypy --install-types --non-interactive src