Skip to content

Commit

Permalink
Re-blackify
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav committed May 21, 2021
1 parent 909e27f commit 3168cd3
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 24 deletions.
2 changes: 1 addition & 1 deletion anonreporter/anonreporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AnonReporter(commands.Cog):
__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
3 changes: 2 additions & 1 deletion bday/bday.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
@cog_i18n(_)
class Bday(commands.Cog):
"""Bday"""

__version__ = "0.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
3 changes: 2 additions & 1 deletion botstatus/botstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
@cog_i18n(_)
class Botstatus(commands.Cog):
"""Botstatus"""

__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
3 changes: 2 additions & 1 deletion casereader/casereader.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
@cog_i18n(_)
class CaseReader(commands.Cog):
"""CaseReader"""

__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
3 changes: 2 additions & 1 deletion caserelayer/caserelayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
@cog_i18n(_)
class CaseRelayer(commands.Cog):
"""CaseRelayer"""

__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
3 changes: 2 additions & 1 deletion check/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
@cog_i18n(_)
class Check(commands.Cog):
"""Check"""

__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
3 changes: 2 additions & 1 deletion exclusiveroles/exclusiveroles.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
@cog_i18n(_)
class ExclusiveRoles(commands.Cog):
"""Exclusive Roles"""

__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
2 changes: 1 addition & 1 deletion httpcat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def setup(bot):
bot.add_cog(HttpCat())
bot.add_cog(HttpCat())
4 changes: 2 additions & 2 deletions httpcat/httpcat.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class HttpCat(commands.Cog):
__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand All @@ -15,4 +15,4 @@ async def red_delete_data_for_user(self, *, requester, user_id):
@commands.command()
async def http(self, ctx, code: int):
"""Get info on HTTP status codes."""
await ctx.send(f"http://http.cat/{code}")
await ctx.send(f"http://http.cat/{code}")
2 changes: 1 addition & 1 deletion mcwhitelister/mcwhitelister.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class McWhitelister(commands.Cog):
__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
2 changes: 1 addition & 1 deletion modlogstats/modlogstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ModLogStats(commands.Cog):
__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
2 changes: 1 addition & 1 deletion mover/mover.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Mover(commands.Cog):
__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down
4 changes: 2 additions & 2 deletions nicknamer/nicknamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
@cog_i18n(_)
class NickNamer(commands.Cog):
"""NickNamer"""

__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"


async def red_delete_data_for_user(self, *, requester, user_id):
if requester == "user":
return
Expand Down
4 changes: 2 additions & 2 deletions prunecmd/prunecmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
@cog_i18n(_)
class Prunecmd(commands.Cog):
"""Prunecmd"""

__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"


async def red_delete_data_for_user(self, *, requester, user_id):
# This cog stores no EUD
return
Expand Down
4 changes: 2 additions & 2 deletions rolesyncer/rolesyncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
@cog_i18n(_)
class RoleSyncer(commands.Cog):
"""Sync Roles"""

__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"


async def red_delete_data_for_user(self, *, requester, user_id):
# This cog doesn't store EUD
return
Expand Down
8 changes: 4 additions & 4 deletions stickymember/stickymember.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@

@cog_i18n(_)
class StickyMember(commands.Cog):
__version__="1.0.0"
__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

async def red_delete_data_for_user(self, *, requester, user_id):
data = self.config.all_members()
for g in data:
for m in g:
if m == user_id:
await self.config.member_from_ids(g, m).clear()

def __init__(self):
self.config = Config.get_conf(self, 231215102020, force_registration=True)
default = {"roles": [], "active": False}
Expand Down
2 changes: 1 addition & 1 deletion verifyer/verifyer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Verifyer(commands.Cog):
__version__ = "1.0.0"

def format_help_for_context(self, ctx: commands.Context) -> str:
#Thanks Sinbad! And Trusty in whose cogs I found this.
# Thanks Sinbad! And Trusty in whose cogs I found this.
pre_processed = super().format_help_for_context(ctx)
return f"{pre_processed}\n\nVersion: {self.__version__}"

Expand Down

0 comments on commit 3168cd3

Please sign in to comment.