-
-
Notifications
You must be signed in to change notification settings - Fork 419
fix: renderer type fixes #1114
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: renderer type fixes #1114
Conversation
fixed merge conflict |
for me all pyright issues are fixed now. Only thing I am not a particular fan of is the number of ignore comments on |
My longer term solution is to overhaul that thing to have different getters deepening on the type you expect. I have no idea what's going on with the type stuff over there, only that it's guaranteed that no other part of the code can ever be happy with the type it spits out... |
elif ext in [".mp4", ".m4a", ".aac"]: | ||
mp4_tags: mp4.MP4 = mp4.MP4(filepath) | ||
mp4_covers: list = mp4_tags.get("covr") | ||
mp4_covers: list = mp4_tags.get("covr") # pyright: ignore[reportAssignmentType] |
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.
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 didn't otherwise I would have set it to ignored. Only have nvim available today though, so can't check
Summary
Mostly type fixes in renderer also some other small ones. Split from #1113 to keep PR size on the smaller end.
Tasks Completed