1[tox] 2minversion = 2.0 3envlist = py27,py37,pep8 4 5[testenv] 6install_command = pip install {opts} {packages} 7deps = 8 -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} 9 -r{toxinidir}/requirements.txt 10 -r{toxinidir}/test-requirements.txt 11commands = stestr run --slowest {posargs} 12 13[testenv:docs] 14basepython = python3 15commands = python setup.py build_sphinx 16 17[testenv:pep8] 18basepython = python3 19commands = flake8 20 21[testenv:venv] 22basepython = python3 23commands = {posargs} 24 25[flake8] 26show-source = true 27ignore = E721 28exclude=.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg 29 30[testenv:lower-constraints] 31basepython = python3 32deps = 33 -c{toxinidir}/lower-constraints.txt 34 -r{toxinidir}/test-requirements.txt 35 -r{toxinidir}/requirements.txt 36