Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 5, 2023
1 parent b456376 commit d266bbc
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ long_description = file: README.md
long_description_content_type = text/markdown
author = Julian Espada
license = MIT
license_file = LICENSE.md
license_files = LICENSE.md
platforms = unix, linux, osx, cygwin, win32
classifiers =
License :: OSI Approved :: MIT License
Expand Down
2 changes: 1 addition & 1 deletion src/heckbot/cogs/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def hbconf(
self,
ctx: Context[Bot],
command: ConfigCommand,
*config_options
*config_options,
) -> None:
raise NotImplementedError

Expand Down
2 changes: 1 addition & 1 deletion src/heckbot/cogs/gif.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(
async def gif(
self,
ctx: Context[Bot],
*search_term_parts
*search_term_parts,
) -> None:
"""
Gif lookup command. Takes in a set of search parameters and
Expand Down
12 changes: 6 additions & 6 deletions src/heckbot/cogs/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def ban(
ctx: Context[Bot],
member: Member,
*,
reason='No reason provided!'
reason='No reason provided!',
) -> None:
if ctx.guild is None or not isinstance(ctx.author, Member):
return
Expand Down Expand Up @@ -136,7 +136,7 @@ async def force_ban(
self,
ctx: Context[Bot],
*,
member_id: int
member_id: int,
) -> None:
if ctx.guild is None:
return
Expand All @@ -160,7 +160,7 @@ async def kick(
ctx: Context[Bot],
member: Member,
*,
reason='No reason provided!'
reason='No reason provided!',
) -> None:
if ctx.guild is None or not isinstance(ctx.author, Member):
return
Expand Down Expand Up @@ -213,7 +213,7 @@ async def nickname(
ctx: Context[Bot],
member: Member,
*,
nickname: str
nickname: str,
) -> None:
if ctx.guild is None or not isinstance(ctx.author, Member):
return
Expand Down Expand Up @@ -345,7 +345,7 @@ async def unban(
self,
ctx: Context[Bot],
*,
member_id: int
member_id: int,
) -> None:
if ctx.guild is None:
return
Expand All @@ -368,7 +368,7 @@ async def warn(
ctx: Context[Bot],
member: Member,
*,
reason: str = 'No reason provided!'
reason: str = 'No reason provided!',
) -> None:
if ctx.guild is None:
return
Expand Down
6 changes: 3 additions & 3 deletions src/heckbot/cogs/poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ async def poll_for(
ctx: Context[Bot],
timeout_mins: int,
question: str,
*choices: str
*choices: str,
) -> None:
"""
Polling command. The commander specifies the poll duration, poll
Expand All @@ -223,7 +223,7 @@ async def poll(
self,
ctx: Context[Bot],
question: str,
*choices: str
*choices: str,
) -> None:
"""
Polling command. The commander specifies the poll question and
Expand Down Expand Up @@ -513,7 +513,7 @@ async def d100(
async def roll(
self,
ctx: Context[Bot],
*args: str
*args: str,
) -> None:
"""
Dice rolling command. The commander specifies a series of
Expand Down

0 comments on commit d266bbc

Please sign in to comment.