-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support Josverl/micropython-stubber as stubs repository + Stubs module renovations. #304
Conversation
I am thinking of targeting https://github.com/Josverl/micropython-stubs/blob/main/publish/package_data.jsondb to source pypi package names (to ensure I lookup the correct package, for security and such). Is this output stable? Lemme know what you think. |
Likely I'll add one or two attributes and might change the primary key to support upsets before |
f5f226f
to
28688b7
Compare
b6f436a
to
1f0f5d1
Compare
Codecov ReportBase: 94.93% // Head: 93.50% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #304 +/- ##
==========================================
- Coverage 94.93% 93.50% -1.43%
==========================================
Files 37 48 +11
Lines 2311 2619 +308
==========================================
+ Hits 2194 2449 +255
- Misses 117 170 +53
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
…tilize in search/resolve. Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
… only in search, general improvements in stub repo. Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
…method. Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
…from metadata fixes. Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
…output by repo. Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
926e325
to
59795bd
Compare
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
Entry to cleaning up the current messy state that is the stubs module.
The stubs module is currently very dependent on the schema used in micropy-stubs. This is an issue for several reasons, but the biggest one being that it just isn't necessary and introduces many limitations.
This PR focuses primarily on how micropy locates and sources stubs that are not local to the machine (i.e, remote repositories of stubs).
Micropy can now source stubs from either micropy-stubs or https://github.com/Josverl/micropython-stubs and is set up to be easily extendable to enable support for any future formats / methods of stub retrieval that may arise.
Next will be improving how micropy finds and treats stubs that are local to the machine. (In a seperate PR, since the scope of this one already expanded way too much 😉 )