mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
Bump black to 20.8b1 (and reformat) (#4371)
* Bump black version * Reformat with black
This commit is contained in:
@@ -154,7 +154,7 @@ async def _sem_wrapper(sem, task):
|
||||
|
||||
|
||||
def bounded_gather_iter(
|
||||
*coros_or_futures, limit: int = 4, semaphore: Optional[Semaphore] = None,
|
||||
*coros_or_futures, limit: int = 4, semaphore: Optional[Semaphore] = None
|
||||
) -> Iterator[Awaitable[Any]]:
|
||||
"""
|
||||
An iterator that returns tasks as they are ready, but limits the
|
||||
|
||||
@@ -169,7 +169,7 @@ async def close_menu(
|
||||
|
||||
|
||||
def start_adding_reactions(
|
||||
message: discord.Message, emojis: Iterable[_ReactableEmoji],
|
||||
message: discord.Message, emojis: Iterable[_ReactableEmoji]
|
||||
) -> asyncio.Task:
|
||||
"""Start adding reactions to a message.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user