Python formatting

This commit is contained in:
Mouse Reeve
2021-09-18 11:33:43 -07:00
parent acfb1bb376
commit 08f6a97653
10 changed files with 17 additions and 32 deletions

View File

@ -20,7 +20,9 @@ class ActivityStream(RedisStore):
def unread_id(self, user):
"""the redis key for this user's unread count for this stream"""
return "{}-unread".format(self.stream_id(user)) # pylint: disable=consider-using-f-string
return "{}-unread".format(
self.stream_id(user)
) # pylint: disable=consider-using-f-string
def get_rank(self, obj): # pylint: disable=no-self-use
"""statuses are sorted by date published"""