Apply pep8 check to app.wsgi
Because app.wsgi should meet pep8 standards, this patch apply pep8 check to app.wsgi. Change-Id: Ie81361de324b7b297025c2b6a2d3ef33c739aa6d
This commit is contained in:
parent
d42ec73b64
commit
915f97d93f
1
tox.ini
1
tox.ini
@ -49,6 +49,7 @@ show-source = True
|
|||||||
ignore = E123,E125
|
ignore = E123,E125
|
||||||
enable-extensions=H106,H203
|
enable-extensions=H106,H203
|
||||||
builtins = _
|
builtins = _
|
||||||
|
filename = *.py,app.wsgi
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
|
@ -13,11 +13,9 @@
|
|||||||
"""Use this file for deploying the API under mod_wsgi.
|
"""Use this file for deploying the API under mod_wsgi.
|
||||||
See http://pecan.readthedocs.org/en/latest/deployment.html for details.
|
See http://pecan.readthedocs.org/en/latest/deployment.html for details.
|
||||||
"""
|
"""
|
||||||
from oslo_config import cfg
|
|
||||||
|
|
||||||
from vitrage.api import app
|
from vitrage.api import app
|
||||||
from vitrage import service
|
from vitrage import service
|
||||||
|
|
||||||
# Initialize the oslo configuration library and logging
|
# Initialize the oslo configuration library and logging
|
||||||
conf = service.prepare_service()
|
conf = service.prepare_service()
|
||||||
application = app.load_app(conf)
|
application = app.load_app(conf)
|
||||||
|
Loading…
Reference in New Issue
Block a user