Skip to content

Commit

Permalink
🔧 fix version 0.42.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Apr 7, 2024
1 parent 5ac382f commit 79959da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ ci:
autoupdate_schedule: monthly
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.5
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
stages: [commit]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
Expand All @@ -25,3 +18,9 @@ repos:
- id: black
stages: [commit]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.5
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
stages: [commit]
2 changes: 1 addition & 1 deletion src/nonebot_plugin_alconna/uniseg/adapters/qq/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_target(self, event: Event, bot: Union[Bot, None] = None) -> Target:
)
if isinstance(event, GuildMemberEvent):
return Target(
str(event.user.id), # type: ignore
str(event.user.id), # type: ignore
str(event.guild_id),
channel=True,
adapter=self.get_adapter(),
Expand Down

0 comments on commit 79959da

Please sign in to comment.