-
Bjarke Madsen authoredBjarke Madsen authored
tox.ini 756 B
[tox]
envlist = py311
[flake8]
exclude = venv,.tox,compendium-frontend,survey-frontend,compendium-survey-creator
max-line-length = 120
[mypy]
exclude = .tox,compendium-frontend,survey-frontend,compendium-survey-creator
[coverage:run]
concurrency = multiprocessing,thread
; it's legacy stuff, ignore it for coverage
omit = */survey_publisher_legacy_db*
[testenv]
passenv = XDG_CACHE_HOME
deps =
pytest-xdist
pytest-cov
flake8
-r requirements.txt
commands =
coverage erase
pytest -n auto --cov compendium_v2 --cov-fail-under=80 --cov-report html --cov-report xml --cov-report term -p no:checkdocs --durations=5
flake8
mypy {toxinidir}/compendium_v2/ {toxinidir}/test/
sphinx-build -M html docs/source docs/build -E