Fix pep8 and pyflakes versions and fix tox.ini
Change-Id: Id70af7f8684746cecaaadae067b4346e8e1b4dc9
This commit is contained in:
parent
b7eb015b5e
commit
548b82b48f
|
@ -1,7 +1,10 @@
|
|||
# This file is managed by openstack-depends
|
||||
coverage>=3.6
|
||||
# Fix versions for pep8/pyflakes/flake8/hacking
|
||||
pep8==1.4.5
|
||||
pyflakes==0.7.2
|
||||
flake8==2.0
|
||||
hacking>=0.5.3,<0.6
|
||||
hacking>=0.5.6,<0.6
|
||||
|
||||
coverage>=3.6
|
||||
mock>=0.8.0
|
||||
nose
|
||||
openstack.nose_plugin>=0.7
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -2,6 +2,7 @@
|
|||
envlist = py26,py27,pep8
|
||||
|
||||
[testenv]
|
||||
sitepackages = True
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
NOSE_WITH_OPENSTACK=1
|
||||
|
@ -20,12 +21,11 @@ commands = nosetests {posargs}
|
|||
setenv = NOSE_WITH_COVERAGE=1
|
||||
|
||||
[tox:jenkins]
|
||||
sitepackages = False
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
[testenv:pep8]
|
||||
deps =
|
||||
flake8
|
||||
hacking
|
||||
sitepackages = False
|
||||
commands = flake8
|
||||
|
||||
[testenv:venv]
|
||||
|
|
Loading…
Reference in New Issue