Skip to content
Snippets Groups Projects
Commit 385d9790 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

[Reformat] flake8

parent bd208dfe
No related branches found
No related tags found
No related merge requests found
Pipeline #1912 failed
...@@ -17,7 +17,7 @@ from rules.contrib.admin import ObjectPermissionsModelAdmin ...@@ -17,7 +17,7 @@ from rules.contrib.admin import ObjectPermissionsModelAdmin
@reversion.register() @reversion.register()
class ExtensibleModel(): class ExtensibleModel:
"""Base model for all objects in AlekSIS apps. """Base model for all objects in AlekSIS apps.
This base model ensures all objects in AlekSIS apps fulfill the This base model ensures all objects in AlekSIS apps fulfill the
......
...@@ -3,7 +3,7 @@ from django_tables2.utils import A ...@@ -3,7 +3,7 @@ from django_tables2.utils import A
class PersonsTable(tables.Table): class PersonsTable(tables.Table):
"""Table to list persons""" """Table to list persons."""
class Meta: class Meta:
attrs = {"class": "table table-striped table-bordered table-hover table-responsive-xl"} attrs = {"class": "table table-striped table-bordered table-hover table-responsive-xl"}
...@@ -13,7 +13,7 @@ class PersonsTable(tables.Table): ...@@ -13,7 +13,7 @@ class PersonsTable(tables.Table):
class GroupsTable(tables.Table): class GroupsTable(tables.Table):
"""Table to list groups""" """Table to list groups."""
class Meta: class Meta:
attrs = {"class": "table table-striped table-bordered table-hover table-responsive-xl"} attrs = {"class": "table table-striped table-bordered table-hover table-responsive-xl"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment