Compare commits

...
3 Commits
Author SHA1 Message Date
pre-commit-ci[bot] 02c675fa5d Merge c41875b401 into f94121080f 2025-10-03 21:56:54 +05:30
pre-commit-ci[bot] c41875b401 🚨 auto fix by pre-commit hooks
Sequential Lint and Type Check / pyright-call (push) Has been cancelled
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
2025-09-01 16:53:20 +00:00
pre-commit-ci[bot] 434facce02 ⬆️ auto update by pre-commit hooks
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.12.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.12.11)
2025-09-01 16:53:12 +00:00
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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.12.11
hooks:
- id: ruff
args: [--fix]
+3 -3
View File
@@ -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"