[lint] Remove redundant paranthesis
Remove redundant parenthisis around await expressions. Left over from
f25091ef.
This commit is contained in:
@@ -228,7 +228,7 @@ class HelpFormatter:
|
||||
|
||||
cmd = tup[1]
|
||||
try:
|
||||
return (await cmd.can_run(self.context))
|
||||
return await cmd.can_run(self.context)
|
||||
except CommandError:
|
||||
return False
|
||||
|
||||
@@ -274,7 +274,7 @@ class HelpFormatter:
|
||||
"""
|
||||
self.context = context
|
||||
self.command = command_or_bot
|
||||
return (await self.format())
|
||||
return await self.format()
|
||||
|
||||
async def format(self):
|
||||
"""Handles the actual behaviour involved with formatting.
|
||||
|
||||
Reference in New Issue
Block a user