diff --git a/mistraldashboard/executions/tables.py b/mistraldashboard/executions/tables.py index 541ee83..ba0244e 100644 --- a/mistraldashboard/executions/tables.py +++ b/mistraldashboard/executions/tables.py @@ -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") diff --git a/mistraldashboard/tasks/tables.py b/mistraldashboard/tasks/tables.py index 2c9b211..6d6ada5 100644 --- a/mistraldashboard/tasks/tables.py +++ b/mistraldashboard/tasks/tables.py @@ -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") diff --git a/mistraldashboard/workbooks/tables.py b/mistraldashboard/workbooks/tables.py index aefe58e..89f473a 100644 --- a/mistraldashboard/workbooks/tables.py +++ b/mistraldashboard/workbooks/tables.py @@ -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") diff --git a/mistraldashboard/workflows/tables.py b/mistraldashboard/workflows/tables.py index 0c4cb7f..8fdd40e 100644 --- a/mistraldashboard/workflows/tables.py +++ b/mistraldashboard/workflows/tables.py @@ -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,) diff --git a/tox.ini b/tox.ini index 98212b4..24a8d1d 100644 --- a/tox.ini +++ b/tox.ini @@ -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