tripleo-docs/tox.ini
xhzhf 8fc80b7616 H803 hacking have been deprecated
H803 hacking have been removed.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg
Closes-Bug: #1651952

Change-Id: I2dde716b4bf5e01b35e2e9aee279b7a65c703bd1
2016-12-21 22:36:39 +08:00

29 lines
615 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = docs,pep8
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:pep8]
whitelist_externals = bash
# We fail pretty horribly on bashate right now
#commands = bash -c "find scripts -type f | xargs bashate -v"
# flake8
commands = flake8
[flake8]
show-source = True
exclude = .tox,dist,doc,*.egg,build