-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathtox.ini
More file actions
47 lines (44 loc) · 759 Bytes
/
tox.ini
File metadata and controls
47 lines (44 loc) · 759 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
[tox]
requires =
tox>=4.2
env_list =
cog
lint
py{315, 314, 313}
[testenv]
package = wheel
wheel_build_env = .pkg
skip_install = true
deps =
-r requirements.txt
pytest
pytest-cov
pass_env =
FORCE_COLOR
set_env =
COVERAGE_CORE = sysmon
commands =
{envpython} -m pytest \
--cov . \
--cov tests \
--cov-report html \
--cov-report term \
--cov-report xml \
{posargs}
[testenv:cog]
base_python = python3.13
skip_install = true
deps =
-r requirements.txt
-r tools_requirements.txt
cogapp
commands =
cog -Pr README.md
[testenv:lint]
skip_install = true
deps =
pre-commit
pass_env =
PRE_COMMIT_COLOR
commands =
pre-commit run --all-files --show-diff-on-failure