Skip to content

Commit

Permalink
⬆️ auto update by pre-commit-ci (Genshin-bots#1)
Browse files Browse the repository at this point in the history
* ⬆️ auto update by pre-commit-ci

updates:
- [github.com/hadialqattan/pycln: v2.1.2 → v2.1.3](hadialqattan/pycln@v2.1.2...v2.1.3)
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](PyCQA/isort@5.11.4...5.12.0)
- [github.com/psf/black: 22.12.0 → 23.1.0](psf/black@22.12.0...23.1.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0)
- [github.com/python-poetry/poetry: 1.3.1 → 1.3.0](python-poetry/poetry@1.3.1...1.3.0)

* 🚨 auto fix by pre-commit-ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 9, 2023
1 parent 72a9f74 commit 022b2fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -662,4 +662,4 @@ FodyWeavers.xsd

# End of https://www.toptal.com/developers/gitignore/api/visualstudio,visualstudiocode,jetbrains+all,python,data

config.json
config.json
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ ci:
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit-ci"
repos:
- repo: https://github.com/hadialqattan/pycln
rev: v2.1.2
rev: v2.1.3
hooks:
- id: pycln

- repo: https://github.com/pycqa/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black

Expand All @@ -26,13 +26,13 @@ repos:
- id: flake8

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/python-poetry/poetry
rev: 1.3.1
rev: 1.3.0
hooks:
- id: poetry-check
# - id: poetry-export
Expand Down
2 changes: 1 addition & 1 deletion gsuid_core/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _check_fullmatch(self, keyword: str, msg: str) -> bool:
if msg == keyword:
return True
return False

async def get_command(self, msg: MessageContent) -> MessageContent:
msg.command = self.keyword
msg.text = msg.raw_text.replace(self.keyword, '')
Expand Down

0 comments on commit 022b2fc

Please sign in to comment.