File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212
1313def in_code_jam_category (code_jam_category_name : str ) -> Callable :
1414 """Raises `CodeJamCategoryCheckFailure` when the command is invoked outside the Code Jam categories."""
15- async def predicate (ctx : commands .Context ) -> bool : # noqa: RUF029
15+ async def predicate (ctx : commands .Context ) -> bool :
1616 if not ctx .guild :
1717 return False
1818 if not ctx .message .channel .category :
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ def in_month_command(*allowed_months: Month) -> Callable:
7575
7676 Uses the current UTC month at the time of running the predicate.
7777 """
78- async def predicate (ctx : Context ) -> bool : # noqa: RUF029
78+ async def predicate (ctx : Context ) -> bool :
7979 current_month = resolve_current_month ()
8080 can_run = current_month in allowed_months
8181
You can’t perform that action at this time.
0 commit comments