mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
disable linting unused-argument
This commit is contained in:
parent
598a0587cf
commit
cf53134577
3 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue