Setup the pep8 config to check bin/glance-control
Fixes bug 1067518. Change-Id: I01abbf9571f303b5d20739312300a2f6b9d5a7b7
This commit is contained in:
parent
6e43a9691b
commit
1a20651030
@ -190,7 +190,6 @@ def do_start(verb, pid_file, server, args):
|
|||||||
break
|
break
|
||||||
time.sleep(0.05)
|
time.sleep(0.05)
|
||||||
|
|
||||||
|
|
||||||
conf_file = None
|
conf_file = None
|
||||||
if args and os.path.exists(args[0]):
|
if args and os.path.exists(args[0]):
|
||||||
conf_file = os.path.abspath(os.path.expanduser(args[0]))
|
conf_file = os.path.abspath(os.path.expanduser(args[0]))
|
||||||
|
2
tox.ini
2
tox.ini
@ -18,7 +18,7 @@ downloadcache = ~/cache/pip
|
|||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
deps = pep8==1.3.3
|
deps = pep8==1.3.3
|
||||||
commands = pep8 --ignore=E125,E126,E711 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack .
|
commands = pep8 --ignore=E125,E126,E711 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack . bin/glance-control
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
setenv = NOSE_WITH_COVERAGE=1
|
setenv = NOSE_WITH_COVERAGE=1
|
||||||
|
Loading…
Reference in New Issue
Block a user