Update #noqa for out 79 character

Currently has some use # noqa because out 79 - character limit,
in order to conform the pep8 specification, I think we can make
some changes

Change-Id: Ia91ec8175521854e0b413441a2e05a23330aa8c3
This commit is contained in:
jiansong 2016-08-30 20:06:09 -07:00
parent 4512aec2d4
commit 25a558d9fd
2 changed files with 4 additions and 2 deletions

View File

@ -74,7 +74,8 @@ release = '0.1'
# extracted from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually.
# These variables are passed to the logabug code via html_context.
giturl = u'http://git.openstack.org/cgit/openstack/trove/tree/install-guide/source' # noqa
giturl = (u'http://git.openstack.org/cgit/openstack/trove/tree/'
'install-guide/source')
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n')
html_context = {"gitsha": gitsha, "bug_tag": bug_tag,

View File

@ -402,5 +402,6 @@ def persisted_models():
return {
'configurations': DBConfiguration,
'configuration_parameters': DBConfigurationParameter,
'datastore_configuration_parameters': DBDatastoreConfigurationParameters, # noqa
'datastore_configuration_parameters':
DBDatastoreConfigurationParameters,
}