-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtox.ini
More file actions
78 lines (71 loc) · 1.32 KB
/
tox.ini
File metadata and controls
78 lines (71 loc) · 1.32 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[tox]
requires =
tox>=4
env_list =
ruff,
changelog,
test,
coverage,
codespell,
py3{10,11,12,13,14}
isolated_build = true
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: coverage
3.14: py314
[testenv]
skip_install = false
passenv =
HOME
FSLDIR
FSLOUTPUTTYPE
deps =
pytest
commands =
pytest
[testenv:ruff]
description = run ruff
skip_install = true
deps =
ruff>=0.1.0
commands =
ruff format {toxinidir}
ruff check {toxinidir}
[testenv:changelog]
description = show changelog
skip_install = true
deps =
towncrier
lazy_loader==0.4
commands =
towncrier build --draft
[testenv:test]
description = run tests
skip_install = false
passenv =
HOME
deps =
pytest
commands =
pytest
[testenv:coverage]
description = run tests with coverage
skip_install = false
deps =
bctpy==0.6.0
neurokit2>=0.1.7
pytest
pytest-cov
commands =
pytest --cov={envsitepackagesdir}/junifer --cov-report=xml --cov-report=term --cov-config=pyproject.toml {envsitepackagesdir}/junifer
[testenv:codespell]
description = run codespell
skip_install = true
deps =
codespell
tomli
commands =
codespell --toml {toxinidir}/pyproject.toml {toxinidir}/docs/ {toxinidir}/examples/ {toxinidir}/junifer/ {toxinidir}/tools/ {toxinidir}/README.md