Skip to content

[WIP] refactor: improve type hints#619

Draft
waketzheng wants to merge 12 commits into
elapouya:masterfrom
waketzheng:type-hints
Draft

[WIP] refactor: improve type hints#619
waketzheng wants to merge 12 commits into
elapouya:masterfrom
waketzheng:type-hints

Conversation

@waketzheng

@waketzheng waketzheng commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

Description

  1. Improve type hints for docxtpl/
  2. Add py.typed to fix error: Skipping analyzing "docxtpl": module is installed, but missing library stubs or py.typed marker
  3. Run mypy in ci and check docxtpl work without docxcompose installed
  4. Move the escape import to a new file to reduce code duplication
  5. Fixes Move docxcompose to optional dependency #615 (comment)

@waketzheng

Copy link
Copy Markdown
Contributor Author

This PR changes too much code, which make it difficult to review. I will separate it to several ones.

@waketzheng waketzheng marked this pull request as draft June 23, 2026 00:25
@waketzheng waketzheng changed the title refactor: improve type hints [WIP] refactor: improve type hints Jun 23, 2026
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