diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 26161d6..22a2ddf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,12 +7,12 @@ repos: - id: trailing-whitespace - id: debug-statements - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black args: [--line-length=88, --target-version=py38] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.14 + rev: v0.2.0 hooks: - id: ruff args: [--fix] diff --git a/bot.py b/bot.py index ac1f81d..ef5b4d1 100644 --- a/bot.py +++ b/bot.py @@ -32,9 +32,11 @@ def __init__(self) -> None: type=getattr(discord.ActivityType, get_config("activity_type").lower()), name=get_config("activity_name"), ), - help_command=commands.DefaultHelpCommand() - if not get_config("disable_help") - else None, + help_command=( + commands.DefaultHelpCommand() + if not get_config("disable_help") + else None + ), ) async def on_ready(self) -> None: