Skip to content

Commit 9786798

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent b793d40 commit 9786798

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

discord/ext/commands/cooldowns.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ def _verify_cache_integrity(self, current: float | None = None) -> None:
253253
for k in dead_keys:
254254
del self._cache[k]
255255

256-
async def create_bucket(self, ctx: Context | ApplicationContext | Message) -> Cooldown:
256+
async def create_bucket(
257+
self, ctx: Context | ApplicationContext | Message
258+
) -> Cooldown:
257259
return self._cooldown.copy() # type: ignore
258260

259261
async def get_bucket(
@@ -302,7 +304,9 @@ def copy(self) -> DynamicCooldownMapping:
302304
def valid(self) -> bool:
303305
return True
304306

305-
async def create_bucket(self, ctx: Context | ApplicationContext | Message) -> Cooldown:
307+
async def create_bucket(
308+
self, ctx: Context | ApplicationContext | Message
309+
) -> Cooldown:
306310
from ...ext.commands import Context
307311

308312
if isinstance(ctx, Context):

0 commit comments

Comments
 (0)