diff --git a/bookwyrm/views/author.py b/bookwyrm/views/author.py index fef771587..c53ba52bb 100644 --- a/bookwyrm/views/author.py +++ b/bookwyrm/views/author.py @@ -19,6 +19,7 @@ from bookwyrm.views.helpers import is_api_request, maybe_redirect_local_path class Author(View): """this person wrote a book""" + # pylint: disable=unused-argument def get(self, request, author_id, slug=None): """landing page for an author""" author = get_object_or_404(models.Author, id=author_id) diff --git a/bookwyrm/views/feed.py b/bookwyrm/views/feed.py index 0f4931ba8..404ec1f6c 100644 --- a/bookwyrm/views/feed.py +++ b/bookwyrm/views/feed.py @@ -113,6 +113,7 @@ class DirectMessage(View): class Status(View): """get posting""" + # pylint: disable=unused-argument def get(self, request, username, status_id, slug=None): """display a particular status (and replies, etc)""" user = get_user_from_username(request.user, username) diff --git a/bookwyrm/views/group.py b/bookwyrm/views/group.py index 761f9635a..75c4dcf19 100644 --- a/bookwyrm/views/group.py +++ b/bookwyrm/views/group.py @@ -20,6 +20,7 @@ from .helpers import get_user_from_username, maybe_redirect_local_path class Group(View): """group page""" + # pylint: disable=unused-argument def get(self, request, group_id, slug=None): """display a group""" @@ -84,6 +85,7 @@ class Group(View): class UserGroups(View): """a user's groups page""" + # pylint: disable=unused-argument def get(self, request, username, slug=None): """display a group""" user = get_user_from_username(request.user, username)