Skip to content

build: 将最低 Python 版本提升至 3.11,支持 3.15 并引入 ty 与中文 reST 检查 - #142

Merged
insistence merged 9 commits into
masterfrom
perf-core
Nov 26, 2026
Merged

insistence merged 9 commits into
masterfrom
perf-core

Conversation

@insistence

Copy link
Copy Markdown
Owner

主要变更

  • 将最低 Python 版本从 3.10 提升至 3.11,升级后端及插件依赖,CI 类型检查覆盖 Python 3.11 至 3.15。
  • 为后端、端到端测试和 CI 脚本接入 ty,修复存量诊断,补全泛型参数、返回值、生成器和装饰器的类型声明。
  • 统一中文 Sphinx/reST 文档规范。Ruff 与项目脚本共同检查多行摘要、参数、返回值、异常,以及 SQLAlchemy 字段 comment、Pydantic 字段 description 和 HTTP 路由的 summary、description。
  • 同步更新代码生成模板和插件脚手架。Python 插件示例继续使用 context.request,兼容已有宿主。

@insistence
insistence merged commit 0c0c000 into master Nov 26, 2026
50 checks passed
@insistence
insistence deleted the perf-core branch November 26, 2026 05:44
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