[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

@@ -40,7 +40,6 @@ RUNNING_ANNOUNCEMENT = (
class Admin:
def __init__(self, config=Config):
self.conf = config.get_conf(self, 8237492837454039, force_registration=True)

View File

@@ -5,7 +5,6 @@ from discord.ext import commands
class Announcer:
def __init__(self, ctx: commands.Context, message: str, config=None):
"""
:param ctx:

View File

@@ -3,7 +3,6 @@ from discord.ext import commands
class MemberDefaultAuthor(commands.Converter):
async def convert(self, ctx: commands.Context, arg: str) -> discord.Member:
member_converter = commands.MemberConverter()
try:
@@ -17,7 +16,6 @@ class MemberDefaultAuthor(commands.Converter):
class SelfRole(commands.Converter):
async def convert(self, ctx: commands.Context, arg: str) -> discord.Role:
admin = ctx.command.instance
if admin is None: