Repository navigation
docs: 三语 README + CI - #35
Merged
Merged
Conversation
问题:README 中英混在一起,仓库改名后链接还是 Remove-OfficePlus;Quick-Remove.bat 写成“全自动清理”,实际会先扫描再询问确认;覆盖范围表漏了 Software\Microsoft\OfficePLUS; CI 里没有 ruff/pytest,checkout/setup-python 还停在 v4/v5。 我的改动: - README 拆成 README.md(简体)、README.zh-Hant.md(繁體)、README.en.md(English),结构一致, 顶部语言切换;对照代码修正上述事实,链接统一为 HenryYannis/remove-officeplus。 - ci.yml 新增 ubuntu 上的 ruff(E9,F)、compileall、pytest;checkout 升到 v7.0.1、 setup-python 升到 v7.1.0(按 SHA 固定)。release.yml、e2e.yml 未动。 - 新增 tests/test_checks.py,用 pytest 跑 sync_rules --check、real_sample_check、gui_result_check。 测试:本地 ruff check --select E9,F、compileall、pytest 3 passed。
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.
遇到的问题
remove-officeplus,README 里的链接还是Remove-OfficePlus。Quick-Remove.bat写成"全自动清理",实际 PowerShell 脚本不带参数时会先扫描再询问 Y/N;覆盖范围表漏了Software\Microsoft\OfficePLUS和 HKCU 下的卸载键;参数表缺--gui、--force;项目结构缺winutil.py、gui_result_check.py、SECURITY.md。actions/checkout、actions/setup-python还停在 v4.4.0 / v5.6.0。我的改动
README
README.md(简体中文,默认)、README.zh-Hant.md(繁體中文)、README.en.md(English),三份结构一致,顶部有语言切换。HenryYannis/remove-officeplus。MIT © 程小宝(沿用 LICENSE 里的署名),英文版MIT © Henry Yannis。LICENSE 未改。CI(
ci.yml)python-lint任务(ubuntu):ruff check --select E9,F(语法错误、未定义名称、未使用的导入)、compileall、pytest tests。release.yml、e2e.yml未改。测试
tests/test_checks.py:用 pytest 跑sync_rules.py --check、real_sample_check.py、gui_result_check.py(都不碰系统)。怎么测试的
本地(Linux):
ruff check --select E9,F .通过,compileall通过,pytest tests3 passed。CI 结果见本 PR 的检查。