setclass/tox.ini

34 lines
561 B
INI

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