Skip to content

Commit

Permalink
style: format code with Autopep8 and isort (#238)
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 0ebbc68 according to the output
from Autopep8 and isort.

Details: None

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] authored May 5, 2024
1 parent 75db052 commit 3cf3685
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions extensions/tasker.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ async def poll_stats(self) -> None:
)
except ProviderHttpError as error:
print(f"[Tsk] [Stats] Failed to poll to DiscordBots.gg: {error}")
save_traceback_to_file("tasker_dbgg", self.bot.user, error, mute_error=True)
save_traceback_to_file(
"tasker_dbgg", self.bot.user, error, mute_error=True)
show_msg.append("DiscordBots.gg")

try:
Expand All @@ -130,7 +131,8 @@ async def poll_stats(self) -> None:
)
except ProviderHttpError as error:
print(f"[Tsk] [Stats] Failed to poll to DiscordBotList: {error}")
save_traceback_to_file("tasker_dbl", self.bot.user, error, mute_error=True)
save_traceback_to_file(
"tasker_dbl", self.bot.user, error, mute_error=True)
show_msg.append("DiscordBotList.com")

try:
Expand All @@ -142,7 +144,8 @@ async def poll_stats(self) -> None:
)
except ProviderHttpError as error:
print(f"[Tsk] [Stats] Failed to poll to InfinityBots: {error}")
save_traceback_to_file("tasker_ibgg", self.bot.user, error, mute_error=True)
save_traceback_to_file(
"tasker_ibgg", self.bot.user, error, mute_error=True)
show_msg.append("InfinityBots")

print(
Expand Down

0 comments on commit 3cf3685

Please sign in to comment.