-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (31 loc) · 718 Bytes
/
tox.ini
File metadata and controls
36 lines (31 loc) · 718 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
[tox]
envlist = py3,mypy
requires =
tox-uv
[testenv]
runner = uv-venv-lock-runner
allowlist_externals = uv
skip_install = true
[testenv:py3]
# Set RPM_PY_VERBOSE to "true" to debug koji package installation failures
passenv = RPM_PY_VERBOSE
commands_pre =
uv sync --extra test
commands =
uv run pytest \
--cov-reset \
--cov=product_listings_manager \
--cov-report=term-missing \
--cov-report=xml \
--cov-report=html \
{posargs}
[testenv:mypy]
runner = uv-venv-runner
deps =
mypy
commands =
mypy -p product_listings_manager --install-types --non-interactive --ignore-missing-imports
[coverage:report]
fail_under = 90
[coverage:run]
branch = true