[V3] Update black version and reformat (#1745)

* Update black version and reformat

* Pin black in extras_require
This commit is contained in:
Tobotimus
2018-05-30 12:37:00 +10:00
committed by palmtree5
parent d8c4113d24
commit 14cc701b25
32 changed files with 27 additions and 54 deletions

View File

@@ -3,7 +3,6 @@ from typing import Tuple
class CogOrCommand(commands.Converter):
async def convert(self, ctx: commands.Context, arg: str) -> Tuple[str]:
ret = ctx.bot.get_cog(arg)
if ret:
@@ -16,7 +15,6 @@ class CogOrCommand(commands.Converter):
class RuleType(commands.Converter):
async def convert(self, ctx: commands.Context, arg: str) -> str:
if arg.lower() in ("allow", "whitelist", "allowed"):
return "allow"