micropy-cli icon indicating copy to clipboard operation
micropy-cli copied to clipboard

[WIP] Support Josverl/micropython-stubber as stubs repository

Open BradenM opened this issue 1 year ago • 2 comments

WIP

Add support for https://github.com/Josverl/micropython-stubs as a stub repository.

BradenM avatar Aug 07 '22 10:08 BradenM

@Josverl

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.

BradenM avatar Aug 07 '22 10:08 BradenM

Likely I'll add one or two attributes and might change the primary key to support upsets before

Josverl avatar Aug 27 '22 12:08 Josverl

Codecov Report

Base: 94.93% // Head: 93.50% // Decreases project coverage by -1.42% :warning:

Coverage data is based on head (9aa583e) compared to base (9c723df). Patch coverage: 85.25% of modified lines in pull request are covered.

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     
Flag Coverage Δ
unittests 93.50% <85.25%> (-1.43%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
micropy/stubs/stubs.py 91.97% <61.53%> (-6.43%) :arrow_down:
micropy/stubs/repo_package.py 70.73% <70.73%> (ø)
micropy/stubs/repositories/micropython.py 77.41% <77.41%> (ø)
micropy/stubs/repositories/micropy.py 84.61% <84.61%> (ø)
micropy/cli.py 95.26% <87.50%> (-1.41%) :arrow_down:
micropy/stubs/repo.py 89.70% <89.70%> (ø)
micropy/stubs/package.py 92.30% <92.30%> (ø)
micropy/stubs/manifest.py 94.73% <94.73%> (ø)
micropy/main.py 97.70% <100.00%> (ø)
micropy/stubs/__init__.py 100.00% <100.00%> (ø)
... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Nov 27 '22 09:11 codecov[bot]