-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: fix stub merging for single-file packages #78
Conversation
Same comment as on your other PR: will do my best to review soon, and thank you for your work! |
don't hurry on my behalf! I know exactly how it goes :) |
ok, I moved the stub finding logic outside the finder. It will continue to fail to find stubs for which an actual |
Hey @tlambert03, I'm back 🙂 Busy weeks, sorry. So, I wanted to try another approach first, and I did, but eventually I like what you did here. I still mixed a bit of both approach, I'll push directly on this PR so you can see, if that's OK with you! |
no worries, welcome back :)
awesome. yes push away! |
5c78d54
to
63272fc
Compare
So! I've pushed my changes. Here's an explanation:
|
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.
Let me know what you think! Maybe we could add comments to document the parts that are difficult to understand?
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.
Yeah, looks great! I like the changes. This is good by me 👍
Great, thank you! I'll merge and cut a new release 🙂 |
closes #77
pyi
stub files were not being detected and merged in two cases:.pyi
file is also distributed and present in site-packages__init__.pyi
. This is probably more common than the first case.