-
Notifications
You must be signed in to change notification settings - Fork 4
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 no build attribute issue #15
Conversation
can you show a full executable example? |
Anyway, you are right about the return type of |
The question makes sense. However, this code pattern is used hundreds times in our private codebase and this type error becomes noises. |
It looks like the existing imports only import from typing_extensions. I'll simply follow the same practice then. |
There are some TypeVar related errors defined and can be replaced by Self now. @youtux can you approve the workflow run to verify the new changes? |
@youtux thanks for merging my PR. |
Hi, I just released v0.4.0 |
Given this example code:
Mypy complains
It's caused by the wrong NoReturn type annotation.
With this fix, mypy is happy: