Skip to content

Conversation

@KihtrakRaknas
Copy link
Contributor

Change the default value of max distance to a float, so that type checkers don't error when a float is used. This change will allow the documentation and the type checker to agree.

Originally:
image

After change:
image

@pjbRPF
Copy link
Contributor

pjbRPF commented Jul 21, 2025

Looks good to me

@pjbRPF pjbRPF self-requested a review July 21, 2025 08:40
Copy link
Contributor

@pjbRPF pjbRPF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reports between 0 and 1, so good PR :)

@pjbRPF pjbRPF merged commit bcef471 into RaspberryPiFoundation:main Jul 21, 2025
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.

3 participants