Enable hacking checks

Change-Id: I72e2abb31c3dc96eba91ad7129a3a07391b3a5cd
This commit is contained in:
Sergey Lukjanov 2013-11-15 13:10:52 +04:00
parent cb779b6b7d
commit 4f1ea5b409
2 changed files with 10 additions and 1 deletions

1
test-requirements.txt Normal file
View File

@ -0,0 +1 @@
hacking>=0.8.0,<0.9

10
tox.ini
View File

@ -8,12 +8,20 @@ usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
#commands = flake8 {posargs}
commands = flake8 {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools