fix E121 pep8 errors

Change-Id: I323916512923ae1a9660cec150c4ddb23f99748f
This commit is contained in:
Tzu-Mainn Chen 2013-09-06 14:21:01 -04:00
parent cffde007d0
commit 74cf70838b
5 changed files with 17 additions and 16 deletions

View File

@ -32,7 +32,6 @@ downloadcache = ~/cache/pip
[flake8]
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py
# E121 continuation line indentation is not a multiple of four
# E126 continuation line over-indented for hanging indent
# E127 continuation line over-indented for visual indent
# E128 continuation line under-indented for visual indent
@ -42,4 +41,4 @@ exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,p
# H4xx docstrings
# H701 empty localization string
# H702 Formatting operation should be outside of localization method call
ignore = E121,E126,E127,E128,F403,F999,H4,H701,H702
ignore = E126,E127,E128,F403,F999,H4,H701,H702

View File

@ -58,10 +58,12 @@ class FlavorTemplatesFilterAction(tables.FilterAction):
class FlavorTemplatesTable(tuskar_tables.DataTable):
name = tuskar_tables.Column('name',
name = tuskar_tables.Column(
'name',
link=("horizon:infrastructure:"
"resource_management:flavor_templates:detail"),
verbose_name=_('Flavor Template Name'))
verbose_name=_('Flavor Template Name')
)
cpu = tuskar_tables.Column(
"cpu",
verbose_name=_('VCPU'),