Skip to content

Commit eba6cd6

Browse files
committed
Actually run black
1 parent dbdd6cd commit eba6cd6

4 files changed

Lines changed: 14 additions & 8 deletions

File tree

techsupport_bot/bot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ def __init__(
7171
self.guild_configs: dict[str, munch.Munch] = {}
7272
self.extension_configs = munch.DefaultMunch(None)
7373
self.extension_states = munch.DefaultMunch(None)
74-
self.command_rate_limit_bans: expiringdict.ExpiringDict[
75-
str, bool
76-
] = expiringdict.ExpiringDict(
77-
max_len=5000,
78-
max_age_seconds=600,
74+
self.command_rate_limit_bans: expiringdict.ExpiringDict[str, bool] = (
75+
expiringdict.ExpiringDict(
76+
max_len=5000,
77+
max_age_seconds=600,
78+
)
7979
)
8080
self.command_execute_history: dict[str, dict[int, bool]] = {}
8181

techsupport_bot/commands/protect.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ class Protector(cogs.MatchCog):
154154
155155
"""
156156

157-
ALERT_ICON_URL: str = "https://www.iconarchive.com/download/i76061/martz90/circle-addon2/warning.512.png"
157+
ALERT_ICON_URL: str = (
158+
"https://www.iconarchive.com/download/i76061/martz90/circle-addon2/warning.512.png"
159+
)
158160
CLIPBOARD_ICON_URL: str = (
159161
"https://www.iconarchive.com/download/i107916/"
160162
"google/noto-emoji-objects/62930-clipboard.512.png"

techsupport_bot/commands/urban.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ class UrbanDictionary(cogs.BaseCog):
4444

4545
BASE_URL: str = "http://api.urbandictionary.com/v0/define?term="
4646
SEE_MORE_URL: str = "https://www.urbandictionary.com/define.php?term="
47-
ICON_URL: str = "https://www.iconarchive.com/download/i79897/dtafalonso/ios7-desktop/Dictionary.256.png"
47+
ICON_URL: str = (
48+
"https://www.iconarchive.com/download/i79897/dtafalonso/ios7-desktop/Dictionary.256.png"
49+
)
4850

4951
@auxiliary.with_typing
5052
@commands.command(

techsupport_bot/commands/wolfram.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ class Wolfram(cogs.BaseCog):
4242
"""
4343

4444
API_URL: str = "http://api.wolframalpha.com/v1/result?appid={}&i={}"
45-
ICON_URL: str = "https://images.seeklogo.com/logo-png/42/1/mathematica-logo-png_seeklogo-428539.png"
45+
ICON_URL: str = (
46+
"https://images.seeklogo.com/logo-png/42/1/mathematica-logo-png_seeklogo-428539.png"
47+
)
4648

4749
@auxiliary.with_typing
4850
@commands.command(

0 commit comments

Comments
 (0)