New version of black, new whitespace

This commit is contained in:
Mouse Reeve
2021-04-26 09:15:42 -07:00
parent ef83eb33b0
commit 3ade2d3bb1
152 changed files with 1289 additions and 1289 deletions

View File

@ -9,18 +9,18 @@ from . import helpers
# pylint: disable= no-self-use
class About(View):
""" create invites """
"""create invites"""
def get(self, request):
""" more information about the instance """
"""more information about the instance"""
return TemplateResponse(request, "discover/about.html")
class Home(View):
""" discover page or home feed depending on auth """
"""discover page or home feed depending on auth"""
def get(self, request):
""" this is the same as the feed on the home tab """
"""this is the same as the feed on the home tab"""
if request.user.is_authenticated:
feed_view = Feed.as_view()
return feed_view(request, "home")
@ -29,10 +29,10 @@ class Home(View):
class Discover(View):
""" preview of recently reviewed books """
"""preview of recently reviewed books"""
def get(self, request):
""" tiled book activity page """
"""tiled book activity page"""
data = {
"register_form": forms.RegisterForm(),
"request_form": forms.InviteRequestForm(),