Skip to content
Permalink
Browse files

supress PyMissingConstructor warning

  • Loading branch information...
fixator10 committed May 15, 2019
1 parent f93d18e commit a708d991a17afbb599ac2bc200efaec0ae2bf783
@@ -15,6 +15,7 @@

@cog_i18n(_)
class AdminUtils(commands.Cog):
# noinspection PyMissingConstructor
def __init__(self, bot: commands.Bot):
self.bot = bot
self.session = aiohttp.ClientSession(loop=self.bot.loop)
@@ -23,6 +23,7 @@ def bool_emojify(bool_var: bool) -> str:

@cog_i18n(_)
class DataUtils(commands.Cog):
# noinspection PyMissingConstructor
def __init__(self, bot: commands.Bot):
self.bot = bot
self.TIME_FORMAT = _("%d.%m.%Y %H:%M:%S %Z")
@@ -18,6 +18,7 @@

@cog_i18n(_)
class GeneralChannel(commands.Cog):
# noinspection PyMissingConstructor
def __init__(self, bot):
self.bot = bot
self.config = Config.get_conf(
@@ -12,6 +12,7 @@
class GodvilleData(commands.Cog):
"""Get data about Godville profiles"""

# noinspection PyMissingConstructor
def __init__(self, bot):
self.bot = bot
self.config = Config.get_conf(
@@ -63,6 +63,7 @@
class Leveler(commands.Cog):
"""A level up thing with image generation!"""

# noinspection PyMissingConstructor
def __init__(self, bot):
self.bot = bot
# fonts
@@ -21,6 +21,7 @@
class MessagesLog(commands.Cog):
"""Log deleted and redacted messages to the defined channel"""

# noinspection PyMissingConstructor
def __init__(self, bot):
self.bot = bot
self.config = Config.get_conf(
@@ -42,6 +42,7 @@ def bool_emojify(bool_var: bool) -> str:

@cog_i18n(_)
class MoreUtils(commands.Cog):
# noinspection PyMissingConstructor
def __init__(self, bot: commands.Bot):
self.bot = bot
self.session = aiohttp.ClientSession(loop=self.bot.loop)
@@ -19,6 +19,7 @@
class PersonalRoles(commands.Cog):
"""Assign and edit personal roles"""

# noinspection PyMissingConstructor
def __init__(self, bot: commands.Bot):
self.bot = bot
self.config = Config.get_conf(
@@ -16,6 +16,7 @@
class SMMData(commands.Cog):
"""Super Mario Maker-related data"""

# noinspection PyMissingConstructor
def __init__(self, bot):
self.bot = bot
self.session = aiohttp.ClientSession(loop=self.bot.loop)
@@ -36,6 +36,7 @@ def check_not_api(ctx):
class SteamCommunity(commands.Cog):
"""SteamCommunity commands"""

# noinspection PyMissingConstructor
def __init__(self, bot):
self.bot = bot

@@ -19,6 +19,7 @@

@cog_i18n(_)
class Translators(commands.Cog):
# noinspection PyMissingConstructor
def __init__(self, bot):
self.bot = bot
self.session = aiohttp.ClientSession(loop=self.bot.loop)
@@ -32,6 +32,7 @@

@cog_i18n(_)
class Weather(commands.Cog):
# noinspection PyMissingConstructor
def __init__(self, bot):
self.bot = bot

0 comments on commit a708d99

Please sign in to comment.
You can’t perform that action at this time.