|
|
|
@ -12,7 +12,11 @@ deps = -r{toxinidir}/requirements.txt
|
|
|
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
|
|
|
|
|
|
[testenv:pep8]
|
|
|
|
|
commands = flake8
|
|
|
|
|
commands =
|
|
|
|
|
flake8
|
|
|
|
|
# Check that .po and .pot files are valid:
|
|
|
|
|
bash -c "find python-heatclient -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
|
|
|
|
whitelist_externals = bash
|
|
|
|
|
|
|
|
|
|
[testenv:venv]
|
|
|
|
|
commands = {posargs}
|
|
|
|
@ -31,3 +35,6 @@ downloadcache = ~/cache/pip
|
|
|
|
|
show-source = True
|
|
|
|
|
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build
|
|
|
|
|
max-complexity=20
|
|
|
|
|
|
|
|
|
|
[hacking]
|
|
|
|
|
import_exceptions = heatclient.openstack.common._i18n
|