-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN,TYP Remove string return annotations #39174
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
CLN,TYP Remove string return annotations #39174
Conversation
e14f02d
to
47dfee1
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.
nice. merge on green.
Not a huge deal, but I like the string versions since they make the dependency structure clearer, i.e. I’m not going to incorrectly infer that Series is in the namespace. |
Sure, but you can't click and go to a definition if it's a string version (this is my main reason for wanting to make this kind of change) I think it only makes the dependency structure clearer if string ones are used consistently (currently there's a mix) - up to you anyway, my preference here isn't too strong |
some discussion in #36034 (comment)
agreed. You can (and people have) quote types even if the type is imported at runtine, or quote the whole type expression such as "we" agreed (#36034 (comment)) on going this route. Do we want another discussion? |
Nope, I'm pretty happy with my "defer to Simon when it comes to annotations" policy. |
OK, merging following #39174 (review) and #39174 (comment) |
Thanks @MarcoGorelli |
* remove string return annotations * fixup conflict * fixup merge conflict
this was just done with
There's other to do (which I'll get to in other PRs), but this already gets rid of a big load of them