Repository navigation
fix(build): 修复 Ruff 检测和独立工具任务联验 - #20
Merged
Merged
Conversation
23 of 26 tasks
Mucheen
marked this pull request as ready for review
November 25, 2026 01:08
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.
关联 Issue
改动
pyproject.toml项目只显示实际检测到的构建系统。Ruff 使用ruff.toml或.ruff.toml触发。.venv、venv和.conda,最后回退到PATH。Windows Conda 同时支持Library/bin和Scripts。conda env update使用当前目录的environment.yml或environment.yaml,两者并存时沿用.yml优先。任务使用已验证可运行的 Python 3.9+ 与 Core 解析出的 Conda 路径,转发用户参数和退出状态。environment.yaml为输入的 Conda 命令夹具。依赖树回归改为点击工作台行。26b691995b6f2898baa2243b1692512f456b7304。合入宿主 PR 后将 pin 换到包含修复的main提交。仅将 Ruff 配置写在
[tool.ruff]的项目,需要单独的按文件内容识别能力;本次依照 #19 的建议收敛至 Ruff 专用配置文件。复审
6782a25。验证
GOFLAGS=-tags=vivahead node scripts/e2e-host.mjs,13 项全部通过,包含新的构建面板与 Conda 命令回归。已检查 1280 × 840、深色中文无头窗口的两张构建面板截图。可下载的 工作台截图 artifact 来自相同的界面实现。当前修订只改动 Conda 的启动探测与参数,已重拍并核对两种工作台场景。最新 CI 已启动。uv lock、uv sync、.venv内的ruff check、ruff format及 Conda.yml环境更新。.yaml路径由候选包的命令及工作台夹具覆盖。