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:
parent
3c05709b93
commit
ea6d14f99c
@ -56,7 +56,7 @@ class ExecutionsTable(tables.DataTable):
|
|||||||
|
|
||||||
state = tables.Column("state", verbose_name=_("State"), filters=[label])
|
state = tables.Column("state", verbose_name=_("State"), filters=[label])
|
||||||
|
|
||||||
class Meta:
|
class Meta(object):
|
||||||
name = "executions"
|
name = "executions"
|
||||||
verbose_name = _("Executions")
|
verbose_name = _("Executions")
|
||||||
|
|
||||||
@ -73,6 +73,6 @@ class TaskTable(tables.DataTable):
|
|||||||
|
|
||||||
state = tables.Column("state", verbose_name=_("State"), filters=[label])
|
state = tables.Column("state", verbose_name=_("State"), filters=[label])
|
||||||
|
|
||||||
class Meta:
|
class Meta(object):
|
||||||
name = "tasks"
|
name = "tasks"
|
||||||
verbose_name = _("Tasks")
|
verbose_name = _("Tasks")
|
||||||
|
@ -50,6 +50,6 @@ class TaskTable(tables.DataTable):
|
|||||||
|
|
||||||
state = tables.Column("state", verbose_name=_("State"), filters=[label])
|
state = tables.Column("state", verbose_name=_("State"), filters=[label])
|
||||||
|
|
||||||
class Meta:
|
class Meta(object):
|
||||||
name = "tasks"
|
name = "tasks"
|
||||||
verbose_name = _("Tasks")
|
verbose_name = _("Tasks")
|
||||||
|
@ -51,6 +51,6 @@ class WorkbooksTable(tables.DataTable):
|
|||||||
def get_object_id(self, datum):
|
def get_object_id(self, datum):
|
||||||
return datum.name
|
return datum.name
|
||||||
|
|
||||||
class Meta:
|
class Meta(object):
|
||||||
name = "workbooks"
|
name = "workbooks"
|
||||||
verbose_name = _("Workbooks")
|
verbose_name = _("Workbooks")
|
||||||
|
@ -68,7 +68,7 @@ class WorkflowsTable(tables.DataTable):
|
|||||||
def get_object_id(self, datum):
|
def get_object_id(self, datum):
|
||||||
return datum.name
|
return datum.name
|
||||||
|
|
||||||
class Meta:
|
class Meta(object):
|
||||||
name = "workflows"
|
name = "workflows"
|
||||||
verbose_name = _("Workflows")
|
verbose_name = _("Workflows")
|
||||||
row_actions = (ExecuteWorkflow,)
|
row_actions = (ExecuteWorkflow,)
|
||||||
|
1
tox.ini
1
tox.ini
@ -47,6 +47,5 @@ commands = oslo_debug_helper {posargs}
|
|||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
show-source = True
|
show-source = True
|
||||||
ignore = H101,H803,H238
|
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,.ropeproject,tools
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,.ropeproject,tools
|
||||||
|
Loading…
Reference in New Issue
Block a user