oslosphinx/tox.ini

25 lines
469 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = pep8
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
setenv = VIRTUAL_ENV={envdir}
sitepackages = False
downloadcache = {toxworkdir}/_download
[testenv:pep8]
commands =
flake8 oslo
[testenv:venv]
commands = {posargs}
[flake8]
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
show-source = True