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 failing tests: change Tuple[float, float] to Point in geometry.pyi #3248

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

aatle
Copy link
Contributor

@aatle aatle commented Dec 1, 2024

Missed in merged #3179 somehow.

Mypy tests are failing because Tuple is no longer available in geometry.pyi. It should be Point anyway.

@aatle aatle requested a review from a team as a code owner December 1, 2024 21:14
Copy link
Member

@oddbookworm oddbookworm left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this. It's just a classic example of the PR being old enough that a change from another pull request broke something in this PR without causing a merge conflict, so CI never reran without a new pull from main or a new commit. We should probably have some kind of policy where we require a fresh pull from main on new merges? @pygame-community/pygame-contributing-admins thoughts?

@damusss damusss added this to the 2.5.3 milestone Dec 1, 2024
@damusss damusss added type hints Type hint checking related tasks bugfix PR that fixes bug labels Dec 1, 2024
Copy link
Member

@damusss damusss left a comment

Choose a reason for hiding this comment

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

LGTM 🔝

@damusss damusss merged commit 02716db into pygame-community:main Dec 1, 2024
24 checks passed
@aatle aatle deleted the fix-geometry-stubs branch December 1, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix PR that fixes bug type hints Type hint checking related tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants