From ff5b4e60c75feee695025e4c165241ff8e1d2ae0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:00:42 +0000 Subject: [PATCH 1/2] :arrow_up: auto update by pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.13.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2cc3299b..dc70db71 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks" repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.2 + rev: v0.13.3 hooks: - id: ruff args: [--fix] From 82bc83b85d202d923c4fdcf83c9687ec2db095ed Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:00:50 +0000 Subject: [PATCH 2/2] :rotating_light: auto fix by pre-commit hooks --- zhenxun/builtin_plugins/sign_in/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zhenxun/builtin_plugins/sign_in/utils.py b/zhenxun/builtin_plugins/sign_in/utils.py index 047e8ab3..4a72cb0e 100644 --- a/zhenxun/builtin_plugins/sign_in/utils.py +++ b/zhenxun/builtin_plugins/sign_in/utils.py @@ -22,9 +22,9 @@ from .config import ( lik2relation, ) -assert ( - len(level2attitude) == len(lik2level) == len(lik2relation) -), "好感度态度、等级、关系长度不匹配!" +assert len(level2attitude) == len(lik2level) == len(lik2relation), ( + "好感度态度、等级、关系长度不匹配!" +) AVA_URL = "http://q1.qlogo.cn/g?b=qq&nk={}&s=160"