BrianPugh / belay

Belay is a python library that enables the rapid development of projects that interact with hardware via a micropython-compatible board.
Apache License 2.0
240 stars 13 forks source link

fix "belay new" CLI command #164

Closed BrianPugh closed 4 months ago

BrianPugh commented 4 months ago

Previously the belay new CLI command was broken in some installed because there would be a __pycache__ directory in the template directory. These files are now ignored.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 7.14286% with 13 lines in your changes missing coverage. Please review.

Project coverage is 70.19%. Comparing base (b477778) to head (c7bec71).

Files Patch % Lines
belay/device.py 0.00% 0 Missing and 7 partials :warning:
belay/cli/new.py 25.00% 3 Missing :warning:
belay/executers.py 0.00% 0 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #164 +/- ## ========================================== - Coverage 70.82% 70.19% -0.64% ========================================== Files 39 39 Lines 1714 1701 -13 Branches 379 379 ========================================== - Hits 1214 1194 -20 + Misses 426 418 -8 - Partials 74 89 +15 ``` | [Flag](https://app.codecov.io/gh/BrianPugh/belay/pull/164/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Brian+Pugh) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/BrianPugh/belay/pull/164/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Brian+Pugh) | `70.13% <7.14%> (-0.46%)` | :arrow_down: | 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=Brian+Pugh#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.