-
Notifications
You must be signed in to change notification settings - Fork 343
Controversial pyright fixes #1788
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
Controversial pyright fixes #1788
Conversation
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.
tl;dr I don't have an opinion on the #type: ignore
or other elements but do have some concerns about types used in a few places
- The previous standard was to use
RGBA255
despite technically accepting RGB colors - We should probably use a more specific exception type when the media player gives nonsense values
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.
Nothing stands out as a problem to me aside from clear
, which needed a rework anyway from what I remember from discussing it with einarf.
These are the pyright fixes that might involve a bit more discussion and refinement before merging.