You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to behave as expected. You are using very strict settings that warn you if you are using stubs with incomplete annotations. Using those settings will mean that you have to deal with occasional issues like this; you can fix them by either ignoring the error in your code with the appropriate comment, or contributing improved stubs.
i don't really understand why this issue was closed. i understand that the solution here is that improved stubs are needed, but... that's why i opened the issue - the stubs in this repository don't work and need to be fixed, as far as i can tell? or is there somewhere else this should be reported?
The stubs work fine, but pyright is warning you that they are incomplete, like many other stubs in typeshed. We don't consider that a bug, but we accept PRs adding annotations to unannotated functions.
after upgrading, i get:
this appears to be due to #12406, which removed the
Any
annotation from**attrs
with no replacement, which pyright interprets asUnknown
.The text was updated successfully, but these errors were encountered: