
Fix line length in recently passed to spec to build with the url changes Co-Authored-By: chenker <chen.ke14@zte.com.cn> Co-Authored-By: Dantali0n <info@dantalion.nl> Depends-on: I98d4c3e9924346b826e5267b0b7c6b73f86741aa Change-Id: If2f80f65bb37656d0604b6565bbdd33be2c80cc0
40 lines
990 B
INI
40 lines
990 B
INI
[tox]
|
|
# Hold back to 1.4, since that's what's in Fedora 20 repos
|
|
# and we don't need anything newer for watcher-specs tests
|
|
minversion = 1.4
|
|
envlist = docs,py27,pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython=python3
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
whitelist_externals = find
|
|
commands =
|
|
find . -type f -name "*.pyc" -delete
|
|
stestr run --slowest {posargs}
|
|
|
|
[testenv:venv]
|
|
basepython = python3
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
basepython = python3
|
|
setenv = PYTHONHASHSEED=0
|
|
commands =
|
|
find . -type f -name "*.pyc" -delete
|
|
python setup.py build_sphinx
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
doc8 doc/source/ README.rst
|
|
flake8 {posargs}
|
|
|
|
[flake8]
|
|
ignore = E128
|
|
exclude = .venv,.git,.tox,doc,.eggs
|