Skip to content

test: lock py.typed and Windows drive-letter sanitizing - #1

Merged
hc-ui merged 8 commits into
mainfrom
cursor/optimize-luanma-aa74
Aug 26, 2026
Merged

hc-ui merged 8 commits into
mainfrom
cursor/optimize-luanma-aa74

Conversation

@hc-ui

@hc-ui hc-ui commented Aug 26, 2026

Copy link
Copy Markdown
Owner

改动

  • 测试锁定 py.typed 仍随包装分发,并在现有 pytest 作业里加 compileall 语法检查(token 无法改 Actions workflow)
  • 增加 Windows 盘符路径清洗测试:C:\... 里的 : 必须被 sanitize,不能当成可逃逸的盘符根
  • 版本 0.4.1;CHANGELOG 记录上述测试

验证

本地:pytest → 101 passed

没有 PR 模板。

风险

行为不变。无法把 compileall 写进 .github/workflows/*(fine-grained token 缺 workflows scope)。

@hc-ui
hc-ui marked this pull request as ready for review August 26, 2026 10:28
@hc-ui
hc-ui merged commit 6c508a3 into main Aug 26, 2026
12 checks passed
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