-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Improved Rect and FRect typing to be more generic and accurate #2297
Improved Rect and FRect typing to be more generic and accurate #2297
Conversation
…ositioning properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the PR 🍰
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like how this PR started with one area improvement and quickly spiralled into all round general improvements.
Thanks a lot! 😎
PS to the person merging this: Please squash and merge this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks!
dickerdackel (Discord) pointed out that rect positioning properties have lint problems with anything except a tuple, but the code accepts more. So, this PR is to fix that issue for both
Rect
andFRect
. I also updatedsize
Edit: this has become more of an "all-around improvement of rect typestubs"