You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
559 B

[tox]
envlist = py3,pep8,docs
[testenv]
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install {opts} {packages}
deps =
-r{toxinidir}/requirements-dev.txt
commands = coverage run --source=enough {envbindir}/py.test --durations 10 {posargs:tests}
coverage report --omit=*test*,*tox* --show-missing
[testenv:pep8]
commands = flake8 {posargs}
[testenv:docs]
commands = sphinx-build -W -vvv -b html docs build/html
[flake8]
exclude = venv,.tox,dist,doc,*.egg,build,docs/conf.py,src
show-source = true
max_line_length = 100