-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
58 lines (51 loc) · 1.14 KB
/
tox.ini
File metadata and controls
58 lines (51 loc) · 1.14 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tox]
envlist = py310, py311, py312, py313, py314, ruff, pylint, codespell, mypy, deptry
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312, ruff, pylint, codespell, mypy, deptry
3.13: py313
3.14: py314
[testenv]
package = editable
commands = py.test --cov=didl_lite --cov-report=term --cov-report=xml:coverage-{env_name}.xml {posargs}
ignore_errors = True
deps =
pytest == 9.0.2
pytest-cov == 7.0.0
coverage == 7.13.4
[testenv:ruff]
basepython = python3
ignore_errors = True
deps =
ruff == 0.15.7
commands =
ruff check didl_lite tests
ruff format --check didl_lite tests
[testenv:pylint]
basepython = python3
ignore_errors = True
deps =
pylint == 4.0.4
pytest == 9.0.2
commands = pylint didl_lite tests
[testenv:codespell]
basepython = python3
ignore_errors = True
deps =
codespell == 2.4.2
commands = codespell didl_lite tests
[testenv:mypy]
basepython = python3
ignore_errors = True
deps =
mypy == 1.19.1
pytest == 9.0.2
commands = mypy --ignore-missing-imports didl_lite tests
[testenv:deptry]
basepython = python3
ignore_errors = True
deps =
deptry == 0.24.0
commands = deptry .