-
-
Notifications
You must be signed in to change notification settings - Fork 157
TYP: enable reportUnknownVariableType
#1522
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
TYP: enable reportUnknownVariableType
#1522
Conversation
d056f30 to
65e6724
Compare
65e6724 to
14f04e0
Compare
|
/pyright_strict |
14f04e0 to
7a945d2
Compare
fdaa258 to
4928823
Compare
d53df7d to
b610573
Compare
c3d69db to
db74e6a
Compare
reportUnknownVariableType
cf09bf8 to
cb064e9
Compare
5067713 to
d35645a
Compare
d35645a to
cc263cd
Compare
|
/pyright_strict |
1 similar comment
|
/pyright_strict |
|
Now with |
Dr-Irv
left a comment
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.
Looks pretty good.
…e/reportUnknownVariableType
Dr-Irv
left a comment
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.
still some open issues
| self, ufunc: np.ufunc, method: str, *inputs: Any, **kwargs: Any | ||
| ) -> arraylike.dispatch_ufunc_with_out: # type: ignore[name-defined] # pyright: ignore[reportAttributeAccessIssue] | ||
| # | ||
| ) -> Any: |
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.
Looks like the typing here was wrong in the first place. It's wrong in the pandas source.
Dr-Irv
left a comment
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.
thanks @cmp0xff
Towards #1171
pyright: ignore[reportUnknownVariableType]for third party Python modulespyright: ignore[reportUnknownVariableType]'s are from_1 = "a" / 2 # pyright: ignore[reportUnknownVariableType])