Skip to content

[qrbill] Replace FloatInt with proper types - #17041

Open
alienxviking wants to merge 1 commit into
python:mainfrom
alienxviking:qrbill-floatint
Open

alienxviking wants to merge 1 commit into
python:mainfrom
alienxviking:qrbill-floatint

Conversation

@alienxviking

Copy link
Copy Markdown
Contributor

Part of #16059.

  • MM_TO_UU becomes float; it is the literal 3.543307 (source).
  • Everything else is an argument and becomes an explicit float | int: the origin, size and rectangle coordinates of draw_swiss_cross() and draw_blank_rect(), and the numeric forms accepted by add_mm(), mm() and format_amount(), which go through float() or arithmetic (source).

Assisted by Claude Code.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This branch has not been deployed

No deployments
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