Skip to content

Commit

Permalink
Merge pull request #196 from finlaysawyer/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
finlaysawyer authored Feb 6, 2024
2 parents 4962c8f + a276fd8 commit 5839877
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
8 changes: 5 additions & 3 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5839877

Please sign in to comment.