doc8/tox.ini
Andreas Jaeger 08be40a220 Change py34 to py35
Master is running on xenial now which tests python35, so change default
target to py35 in tox.ini.

Change-Id: Idf8672922a5508da841f7355c95b50a221416c0c
2016-12-15 20:04:23 +01:00

33 lines
671 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py35,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests {posargs}
[testenv:pep8]
commands = flake8 {posargs}
[testenv:pylint]
requirements = pylint==0.25.2
commands = pylint doc8
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands =
doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst
python setup.py build_sphinx
[flake8]
builtins = _
show-source = True
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build