Skip to content

Commit

Permalink
Format code with black, yapf, autopep8 and isort
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in ae254fb according to the output
from black, yapf, autopep8 and isort.

Details: https://deepsource.io/gh/The-4th-Hokage/yondaime-hokage/transform/2aa9a7a5-f5d7-4cf9-9386-a8cf7548d8f1/
  • Loading branch information
deepsource-autofix[bot] authored Oct 31, 2021
1 parent ae254fb commit c724fd3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion minato_namikaze/bot_files/cogs/fun/random_fun_games.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ async def magic(self, ctx, user: discord.Member = None):
@commands.cooldown(1, 40, commands.BucketType.guild)
async def qr(self, ctx, colour="255-255-255", *, url=None):
"""Generates easy QR Code"""
colours = {"255-255-255": "255-255-255", "black": "0-0-0", "red": "FF0000", "blue": "00f"}
colours = {
"255-255-255": "255-255-255",
"black": "0-0-0",
"red": "FF0000",
"blue": "00f",
}
col = ["black", "red", "blue"]
if colour == "255-255-255":
col = ["255-255-255", "red", "blue"]
Expand Down

0 comments on commit c724fd3

Please sign in to comment.