Skip to content

[python-xlib] Replace FloatInt with float | int - #17003

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

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

Conversation

@alienxviking

Copy link
Copy Markdown
Contributor

Part of #16059.

Every FloatInt here annotates an argument: the property value/data sequences passed to change_property, change_output_property and the xinput property calls, and the value passed to check_value. These accept both int and float, so they become float | int.

@alienxviking
alienxviking requested a review from Avasam as a code owner December 4, 2026 10:45
@github-actions

github-actions Bot commented Dec 4, 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