Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors found in mypy and add mypy to CI #1185

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

shueja
Copy link
Collaborator

@shueja shueja commented Jan 29, 2025

Closes #1174
Closes #1175
Fixes several major logic errors in Python ChoreoLib:
Switches both Sample classes and Trajectory classes to dataclasses, giving auto-generated __eq__ impls.
Fixes the force arguments on DifferentialSample.
Fixes the lerp function on DifferentialSample.
Fixes default flipper assigned to a number.

@shueja
Copy link
Collaborator Author

shueja commented Jan 29, 2025

See the new CI job "ChoreoLib / Lint Python"

@shueja shueja merged commit cb3e342 into SleipnirGroup:main Jan 29, 2025
35 checks passed
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.

Add mypy to CI Variety of type errors in Python choreolib
2 participants