Remove H101, H803, H238 from ignore list

Enable H101 check,
H803 was removed from hacking,
Fix H238 errors and enable the check.

Change-Id: Ifa69d18bb1ee54f7b42c6a281d76dc720e2043ba
This commit is contained in:
Zhenguo Niu 2015-07-14 21:42:37 +08:00
parent 3c05709b93
commit ea6d14f99c
5 changed files with 5 additions and 6 deletions

View File

@ -56,7 +56,7 @@ class ExecutionsTable(tables.DataTable):
state = tables.Column("state", verbose_name=_("State"), filters=[label])
class Meta:
class Meta(object):
name = "executions"
verbose_name = _("Executions")
@ -73,6 +73,6 @@ class TaskTable(tables.DataTable):
state = tables.Column("state", verbose_name=_("State"), filters=[label])
class Meta:
class Meta(object):
name = "tasks"
verbose_name = _("Tasks")

View File

@ -50,6 +50,6 @@ class TaskTable(tables.DataTable):
state = tables.Column("state", verbose_name=_("State"), filters=[label])
class Meta:
class Meta(object):
name = "tasks"
verbose_name = _("Tasks")

View File

@ -51,6 +51,6 @@ class WorkbooksTable(tables.DataTable):
def get_object_id(self, datum):
return datum.name
class Meta:
class Meta(object):
name = "workbooks"
verbose_name = _("Workbooks")

View File

@ -68,7 +68,7 @@ class WorkflowsTable(tables.DataTable):
def get_object_id(self, datum):
return datum.name
class Meta:
class Meta(object):
name = "workflows"
verbose_name = _("Workflows")
row_actions = (ExecuteWorkflow,)

View File

@ -47,6 +47,5 @@ commands = oslo_debug_helper {posargs}
[flake8]
show-source = True
ignore = H101,H803,H238
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,.ropeproject,tools