setclass/tox.ini

29 lines
468 B
INI

[tox]
envlist = py38,py310
skipsdist = True
skip_missing_interpreters = True
[testenv]
skip_install = True
setenv =
PYTHONPATH = {toxroot}
commands =
pytest --cov=. --junitxml=junit.xml --cov-report xml:coverage.xml --cov-report term {posargs}
deps =
-r requirements-dev.txt
[coverage:run]
[coverage:report]
skip_empty = True
sort = miss
[flake8]
max_line_length = 120
ignore = E501
exclude =
.git,
.pytest_cache,
.tox,
.venv,
venv