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
Add missing aiofiles.tempfile classes #7523
Conversation
Fixes: python#6524 Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
1475195
to
863c38a
Compare
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.
The warnings can be suppresed with # type: ignore[misc]
on the affected lines. I noticed one more thing for now.
This comment has been minimized.
This comment has been minimized.
There's a lot of pyright errors due to various parameters not being annotated. Ideally we'd obviously annotate these, obviously, but for now we could also maybe just add specific files to the allowlist in typeshed/pyrightconfig.stricter.json Lines 9 to 76 in 4e946b7
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
I was trying to add missing aiofiles.tempfile classes, but I ran into this issue:
I’m not sure how to proceed from here.
This will fix: #6524