Skip to content

fix: 修复 api/sessions.py 的 mypy 报错 - #4

Merged
mmlong818 merged 1 commit into
masterfrom
fix/mypy-review-match
Oct 15, 2026
Merged

mmlong818 merged 1 commit into
masterfrom
fix/mypy-review-match

Conversation

@mmlong818

Copy link
Copy Markdown
Owner

概要

master 上 CI 后端检查一直失败:mypy 报 api/sessions.py 中 m.group 的 m 可能为 None(来自 607b24f)。

改为文件名不匹配 review_N.json 时直接跳过,行为不变。

验证

  • mypy:Success: no issues found in 130 source files
  • ruff check .:通过
  • python -m unittest discover -s tests -t .:Ran 905 tests, OK

@mmlong818
mmlong818 merged commit 2b3c726 into master Oct 15, 2026
6 checks passed
@mmlong818
mmlong818 deleted the fix/mypy-review-match branch October 15, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant