aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Andi Qu <[email protected]>2020-07-05 20:59:18 +0200
committerGravatar Andi Qu <[email protected]>2020-07-05 20:59:18 +0200
commitec3cc1704c7678f6389ac5c0688be90697410bed (patch)
tree72e299b91d57b0893fc2274c4055077ea946f38f
parentFixed all docstrings (diff)
Minor style fixes
-rw-r--r--bot/cogs/print_snippets.py2
-rw-r--r--bot/cogs/repo_widgets.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/bot/cogs/print_snippets.py b/bot/cogs/print_snippets.py
index 5c83cd62b..67d411a63 100644
--- a/bot/cogs/print_snippets.py
+++ b/bot/cogs/print_snippets.py
@@ -91,7 +91,7 @@ class PrintSnippets(Cog):
"""
def __init__(self, bot: Bot):
- """Initializes the cog's bot"""
+ """Initializes the cog's bot."""
self.bot = bot
self.session = aiohttp.ClientSession()
diff --git a/bot/cogs/repo_widgets.py b/bot/cogs/repo_widgets.py
index c8fde7c8e..32c2451df 100644
--- a/bot/cogs/repo_widgets.py
+++ b/bot/cogs/repo_widgets.py
@@ -98,8 +98,8 @@ class RepoWidgets(Cog):
url=repo['web_url'],
color=0x111111
).set_footer(
- text=f'Stars: {repo["star_count"]} | ' +
- f'Forks: {repo["forks_count"]}'
+ text=f'Stars: {repo["star_count"]} | '
+ + f'Forks: {repo["forks_count"]}'
)
if repo['avatar_url'] is not None: