Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bfbachmann committed Mar 10, 2019
2 parents eb26b43 + ffd19e0 commit 632337d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bounce/server/api/clubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ class ClubImagesEndpoint(Endpoint):

__uri__ = '/clubs/<name>/images/<image_name>'

# pylint: disable=unused-argument
async def get(self, session, _, name, image_name):
"""
Handles a GET /clubs/<name>/images/<image_name> request
Expand All @@ -165,6 +166,8 @@ async def get(self, session, _, name, image_name):
except FileNotFoundError:
raise APIError('No such image', status=404)

# pylint: enable=unused-argument

# @verify_token()
async def put(self, session, request, name, image_name):
"""
Expand Down
3 changes: 3 additions & 0 deletions bounce/server/api/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class UserImagesEndpoint(Endpoint):

__uri__ = '/users/<user_id>/images/<image_name>'

# pylint: disable=unused-argument
async def get(self, session, _, user_id, image_name):
"""
Handles a GET /users/<user_id>/images/<image_name> request
Expand All @@ -148,6 +149,8 @@ async def get(self, session, _, user_id, image_name):
except FileNotFoundError:
raise APIError('No such image', status=404)

# pylint: enable=unused-argument

@verify_token()
async def put(self,
session,
Expand Down

0 comments on commit 632337d

Please sign in to comment.