mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 09:56:05 -05:00
Bump black to 20.8b1 (and reformat) (#4371)
* Bump black version * Reformat with black
This commit is contained in:
@@ -40,7 +40,7 @@ class Downloader(commands.Cog):
|
||||
|
||||
Community cogs, also called third party cogs, are not included
|
||||
in the default Red install.
|
||||
|
||||
|
||||
Community cogs come in repositories. Repos are a group of cogs
|
||||
you can install. You always need to add the creator's repository
|
||||
using the `[p]repo` command before you can install one or more
|
||||
@@ -545,7 +545,9 @@ class Downloader(commands.Cog):
|
||||
)
|
||||
except OSError:
|
||||
log.exception(
|
||||
"Something went wrong trying to add repo %s under name %s", repo_url, name,
|
||||
"Something went wrong trying to add repo %s under name %s",
|
||||
repo_url,
|
||||
name,
|
||||
)
|
||||
await ctx.send(
|
||||
_(
|
||||
|
||||
@@ -1153,11 +1153,11 @@ class RepoManager:
|
||||
async def update_repos(
|
||||
self, repos: Optional[Iterable[Repo]] = None
|
||||
) -> Tuple[Dict[Repo, Tuple[str, str]], List[str]]:
|
||||
"""Calls `Repo.update` on passed repositories and
|
||||
"""Calls `Repo.update` on passed repositories and
|
||||
catches failing ones.
|
||||
|
||||
|
||||
Calling without params updates all currently installed repos.
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
repos: Iterable
|
||||
@@ -1168,7 +1168,7 @@ class RepoManager:
|
||||
tuple of Dict and list
|
||||
A mapping of `Repo` objects that received new commits to
|
||||
a 2-`tuple` of `str` containing old and new commit hashes.
|
||||
|
||||
|
||||
`list` of failed `Repo` names
|
||||
"""
|
||||
failed = []
|
||||
|
||||
Reference in New Issue
Block a user