Skip to content

Commit a8054bd

Browse files
authored
Appease the format checker
1 parent da16c37 commit a8054bd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

django_tables2/views.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
from typing import Any, Optional
33

44
from django.core.exceptions import ImproperlyConfigured
5-
from django.views.generic.list import ListView, MultipleObjectMixin as ConfoundingMultipleObjectMixin
5+
from django.views.generic.list import (
6+
ListView,
7+
MultipleObjectMixin as ConfoundingMultipleObjectMixin,
8+
)
69

710
from . import tables
811
from .config import RequestConfig
@@ -164,8 +167,8 @@ def get_context_data(self, **kwargs: Any) -> dict[str, Any]:
164167
"""
165168
context = (
166169
super(ConfoundingMultipleObjectMixin, self).get_context_data(**kwargs)
167-
if isinstance(self, ConfoundingMultipleObjectMixin) else
168-
super().get_context_data(**kwargs)
170+
if isinstance(self, ConfoundingMultipleObjectMixin)
171+
else super().get_context_data(**kwargs)
169172
)
170173
table = self.get_table(**self.get_table_kwargs())
171174
context[self.get_context_table_name(table)] = table

0 commit comments

Comments
 (0)