48f54bab22
Move some specs that didn't get completed in Train but which are being worked on for delivery in ussuri to the appropriate directory, and set up redirects so that train URLs for the specs will redirect to the current location. Change-Id: Ic73f4801b8307ad2a0c9be0f3ab6c12b4019e0e7
37 lines
728 B
INI
37 lines
728 B
INI
[tox]
|
|
minversion = 3.1.1
|
|
envlist = docs,pep8
|
|
skipsdist = True
|
|
ignore_basepython_conflict = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:docs]
|
|
whitelist_externals = rm
|
|
commands =
|
|
rm -fr doc/build
|
|
python setup.py build_sphinx
|
|
doc8 --ignore D001 doc/source
|
|
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8
|
|
doc8 --ignore D001 specs/
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
# E123, E125 skipped as they are invalid PEP-8.
|
|
|
|
show-source = True
|
|
ignore = E123,E125
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|