Skip to content

feat: add py.typed support - #43

Merged
ZhuoZhuoCrayon merged 1 commit into
mainfrom
codex/add-py-typed
Sep 1, 2026
Merged

feat: add py.typed support#43
ZhuoZhuoCrayon merged 1 commit into
mainfrom
codex/add-py-typed

Conversation

@ZhuoZhuoCrayon

Copy link
Copy Markdown
Member

变更

  • 新增 bkcrypto/py.typed PEP 561 标记,让 mypy 等静态检查工具识别包内类型信息。
  • 不改变运行时行为。

验证

  • uv run pytest(90 passed)
  • uv run ruff check .
  • uv run mypy bkcrypto
  • uv run pyright
  • wheel 和 sdist 均包含 bkcrypto/py.typed

Closes #42

@ZhuoZhuoCrayon ZhuoZhuoCrayon self-assigned this Sep 1, 2026
@ZhuoZhuoCrayon
ZhuoZhuoCrayon merged commit 3c37549 into main Sep 1, 2026
13 checks passed
@ZhuoZhuoCrayon ZhuoZhuoCrayon mentioned this pull request Sep 1, 2026
6 tasks
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.

add py.typed supported

1 participant