bd5fad6e3f
Caching is enabled by default from pip version 6.0 More info: https://testrun.org/tox/latest/config.html#confval-downloadcache=path https://pip.pypa.io/en/stable/reference/pip_install/#caching Change-Id: Ic8aa835bbc689246afa8fa8ebd9420c1bb1327a9
21 lines
320 B
INI
21 lines
320 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8 oslosphinx
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
|
|
show-source = True
|