pep8 checking was added for bin folder
Change-Id: I9b3a8928fb1d0e9c00361e90dcdcd2eb09e8e44b Closes-Bug: #1218364
This commit is contained in:
parent
2538755e9b
commit
fb3c01bd38
@ -50,11 +50,9 @@ trove_opts = [
|
||||
default=8779,
|
||||
help='Trove API default port'),
|
||||
cfg.MultiStrOpt('trove_api_extension',
|
||||
default=[
|
||||
'trove.api.database.contrib.standard_extensions'
|
||||
],
|
||||
help='osapi compute extension to load'),
|
||||
]
|
||||
default=['trove.api.database.contrib.standard_extensions'],
|
||||
help='osapi compute extension to load'), ]
|
||||
|
||||
FLAGS = flags.FLAGS
|
||||
FLAGS.register_opts(trove_opts)
|
||||
|
||||
|
@ -61,8 +61,6 @@ def run_server():
|
||||
launcher = wsgi.launch('trove', CONF.bind_port or 8779, conf_file,
|
||||
workers=CONF.trove_api_workers)
|
||||
|
||||
|
||||
|
||||
launcher.wait()
|
||||
except RuntimeError as error:
|
||||
import traceback
|
||||
@ -89,4 +87,3 @@ if __name__ == '__main__':
|
||||
f.write(str(pid))
|
||||
else:
|
||||
run_server()
|
||||
|
||||
|
3
tox.ini
3
tox.ini
@ -35,4 +35,5 @@ commands = {posargs}
|
||||
show-source = True
|
||||
ignore = E125,F401,F403,F811,F821,F841,H102,H103,H201,H23,H301,H306,H401,H402,H403,H404,H702,H703
|
||||
builtins = _
|
||||
exclude=.venv,.tox,dist,doc,openstack,*egg,rsdns,tools
|
||||
exclude=.venv,.tox,dist,doc,openstack,*egg,rsdns,tools,etc
|
||||
filename=*.py,trove-*
|
Loading…
Reference in New Issue
Block a user