-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
52 lines (47 loc) · 871 Bytes
/
Copy pathtox.ini
File metadata and controls
52 lines (47 loc) · 871 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tox]
requires =
tox>=4
env_list =
ruff,
changelog,
coverage,
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
deps =
pytest
commands =
pytest
[testenv:ruff]
description = run ruff
skip_install = true
deps =
ruff
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:coverage]
description = run tests with coverage
skip_install = false
deps =
pytest-cov
commands =
pytest --cov={envsitepackagesdir}/junifer_eeg --cov-report=xml --cov-report=term --cov-config=pyproject.toml {envsitepackagesdir}/junifer_eeg