Closed Josverl closed 2 months ago
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
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
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
andpytest.yml
files, the changes in thelaunch.json
andcoverage-local.ps1
scripts, and the updates to theask_input.py
andcli_flash.py
files.Configuration and Script Changes:
.github/codecov.yml
: Commented out thecarryforward
flag in thedefault_rules
and for thestubber
andmpflash
paths. This change affects how the code coverage is computed and reported. [1] [2].github/workflows/pytest.yml
and.github/workflows/pytest_mpflash.yml
: Added.github/workflows/codecov.yml
to the list of paths that trigger the workflow. This ensures that the workflow is triggered whenever there are changes to thecodecov.yml
file. [1] [2].vscode/launch.json
: Commented out certain parameters in the launch configuration, which changes the behavior of the launch process. [1] [2]scripts/coverage-local.ps1
: Commented out several lines related to running tests and creating coverage reports. This modifies the behavior of the script when it is run. [1] [2]Codebase Changes:
src/mpflash/mpflash/ask_input.py
: Updated function calls fromknown_mp_boards
toknown_stored_boards
and fromknown_mp_ports
tolocal_mp_ports
. These changes affect how the program retrieves information about MicroPython boards and ports. [1] [2]src/mpflash/mpflash/cli_flash.py
: Made several changes to thecli_flash_board
function, including modifying how theversions
andboards
parameters are set, and updating the logic for detecting connected boards. These changes affect how the function handles input parameters and executes the flashing process. [1] [2]Notebook Changes:
src/mpflash/libusb_flash.ipynb
: Made several changes to the output of the notebook, including updating the list of devices and adding more information about each device. This enhances the output provided to the user.