Josverl / micropython-stubber

Generate and maintain stubs for different MicroPython ports to use with VSCode and Pylance, PyRight, Thonny, PyCharm or MyPy
https://micropython-stubber.readthedocs.io
Other
166 stars 14 forks source link

Dev/mpflash stable #535

Closed Josverl closed 2 months ago

Josverl commented 3 months ago

This pull request includes changes focused on improving the codebase by modifying configuration files and scripts, updating function calls, and enhancing the output of certain functions. The changes are spread across multiple files and areas of the project, with the most significant ones being the modifications to the codecov.yml and pytest.yml files, the changes in the launch.json and coverage-local.ps1 scripts, and the updates to the ask_input.py and cli_flash.py files.

Configuration and Script Changes:

Codebase Changes:

Notebook Changes:

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 82.69231% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 78.32%. Comparing base (76fc906) to head (433aec3).

:exclamation: Current head 433aec3 differs from pull request most recent head 87874ab. Consider uploading reports for the commit 87874ab to get more accurate results

Files Patch % Lines
src/stubber/commands/get_mcu_cmd.py 55.55% 4 Missing :warning:
src/stubber/bulk/mcu_stubber.py 33.33% 2 Missing :warning:
src/stubber/publish/candidates.py 0.00% 1 Missing :warning:
src/stubber/utils/config.py 95.83% 1 Missing :warning:
src/stubber/utils/repos.py 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #535 +/- ## ========================================== + Coverage 77.21% 78.32% +1.11% ========================================== Files 75 70 -5 Lines 5955 5865 -90 Branches 1224 1203 -21 ========================================== - Hits 4598 4594 -4 + Misses 1030 948 -82 + Partials 327 323 -4 ``` | [Flag](https://app.codecov.io/gh/Josverl/micropython-stubber/pull/535/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jos+Verlinde) | Coverage Δ | | |---|---|---| | [stubber](https://app.codecov.io/gh/Josverl/micropython-stubber/pull/535/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jos+Verlinde) | `78.07% <82.69%> (+1.11%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jos+Verlinde#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.