engagement/tox.ini

30 lines
695 B
INI

[tox]
minversion = 3.1
envlist = linters, py3
ignore_basepython_conflict = True
[testenv]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
# TODO(fungi): work out a representative replay call with a suitable but
# small test payload and target results comparison
commands =
python setup.py test --slowest --testr-args='{posargs}'
[testenv:linters]
commands = flake8
[testenv:docs]
allowlist_externals = rm
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
sphinx-build -W -b html doc/source doc/build/html
[testenv:stats]
commands = engagement-stats {posargs}
[flake8]
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build