Python formatting
This commit is contained in:
@ -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"""
|
||||
|
Reference in New Issue
Block a user