rust2rpm/tox.ini

47 lines
823 B
INI
Raw Permalink Normal View History

[tox]
2023-12-01 14:22:13 +00:00
envlist = py311,py312,py313
skipsdist = True
[testenv]
deps =
pytest
-rrequirements.txt
whitelist_externals =
cargo
rust2rpm-helper
commands =
pytest -v {posargs}
setenv =
PYTHONPATH = {toxinidir}
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1
[testenv:coverage]
deps =
pytest
coverage
-rrequirements.txt
whitelist_externals =
cargo
rust2rpm-helper
commands =
coverage run --branch -m pytest -v {posargs}
coverage html
coverage report
setenv =
PYTHONPATH = {toxinidir}
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1
[testenv:mypy]
deps =
mypy
pytest
types-jsonschema
types-requests
types-tqdm
-rrequirements.txt
commands =
mypy -p rust2rpm {posargs}
setenv =
PYTHONPATH = {toxinidir}
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1