-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathtox.ini
More file actions
55 lines (46 loc) · 945 Bytes
/
tox.ini
File metadata and controls
55 lines (46 loc) · 945 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
53
54
[tox]
envlist = clean, py{310,311,312,313}, anaconda3, coverage, stats
recreate = true
[testenv]
allowlist_externals = uv
commands_pre =
uv sync --group dev
commands =
pytest tests --import-mode importlib
deps =
pytest
pytest-sugar
mock
httpretty
[testenv:coverage]
allowlist_externals = uv
commands_pre =
uv sync --group dev
commands =
coverage run -m pytest
deps =
pytest
pytest-sugar
mock
httpretty
coverage
[testenv:clean]
allowlist_externals = uv, coverage
commands=
coverage erase
[testenv:stats]
allowlist_externals = uv, coverage
commands=
coverage report --include=rwslib/* --omit=*test*
coverage html
[gh-actions]
python =
3.10: py310, lint, manifest
3.11: py311, lint, manifest
3.12: py312, lint, manifest
3.13: py313, lint, manifest
pypy3: pypy3
[tool.coverage.run]
omit = [".*", "*/site-packages/*"]
[tool.coverage.report]
fail_under = 80