Skip to content

Robotics.py: Fix issue with the type stub for DriveBase.angle() - #165

Merged
dlech merged 3 commits into
pybricks:masterfrom
shaggysa:patch-1
Sep 20, 2025
Merged

Robotics.py: Fix issue with the type stub for DriveBase.angle()#165
dlech merged 3 commits into
pybricks:masterfrom
shaggysa:patch-1

Conversation

@shaggysa

Copy link
Copy Markdown
Contributor

In the type stub for DriveBase.angle(), the return type was incorrectly reported as an integer despite actually returning a float.

change the return type of DriveBase.angle() to be a float in the type stub
@dlech
dlech merged commit 32f974e into pybricks:master Sep 20, 2025
3 checks passed
@dlech

dlech commented Sep 20, 2025

Copy link
Copy Markdown
Member

Thanks!

@shaggysa
shaggysa deleted the patch-1 branch September 20, 2025 17:31
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.

2 participants