Repository navigation
fix(checks): 统一格式与 lint 入口和维护范围 - #160
Merged
Merged
Conversation
- 复用 PDM 检查并补齐本地 hook 安装要求
xiaoland
marked this pull request as ready for review
October 25, 2026 06:30
- 保留原有检查内容与分支保护约束
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本地 Git hook 缺少 lint,且没有复用 CI 的 PDM 入口,临时任务实验也进入了产品 Ruff 检查。现在格式与 lint hook 复用既有只读入口,仓库配置明确任务目录边界,贡献说明要求安装本地 hook。工作流检查名称与受保护分支要求一致。
验证:独立候选的 Ruff 格式检查、lint、pre-commit 和 actionlint 通过;最终 head 的 impl-py checks、impl-py e2e tests、CLI 与独立数据库检查均通过。检查范围故障注入已证明违规会失败。
仅检查配置、工作流名称和说明变化,不含 Capture 业务、数据库迁移或凭据变更。回退本 PR 的单一 squash 提交即可恢复旧配置。无父子 PR 依赖;合并后既有 draft 已同步。