pi-top / pi-top-Python-SDK

pi-top's Python SDK (pitop package)
Apache License 2.0
27 stars 4 forks source link

Add virtual_hardware as a separate subpackage #569

Closed angusjfw closed 1 year ago

angusjfw commented 1 year ago
Status Ticket/Issue
Ready/Hold Ticket

Main changes

-

Screenshots (feature, test output, profiling, dev tools etc)

[insert screenshots here]

Other notes (e.g. implementation quirks, edge cases, questions / issues)

-

Manual testing tips

-

Tag anyone who definitely needs to review or help

-

codecov[bot] commented 1 year ago

Codecov Report

Base: 60.48% // Head: 60.51% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (4def066) compared to base (8b28fc8). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #569 +/- ## ========================================== + Coverage 60.48% 60.51% +0.02% ========================================== Files 147 147 Lines 7288 7288 ========================================== + Hits 4408 4410 +2 + Misses 2880 2878 -2 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `60.51% <ø> (+0.02%)` | :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=pi-top#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top) | Coverage Δ | | |---|---|---| | [...irtual\_hardware/pitop/virtual\_hardware/\_\_init\_\_.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvdmlydHVhbF9oYXJkd2FyZS9waXRvcC92aXJ0dWFsX2hhcmR3YXJlL19faW5pdF9fLnB5) | `100.00% <ø> (ø)` | | | [...e/pitop/virtual\_hardware/mock\_hardware/\_\_init\_\_.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvdmlydHVhbF9oYXJkd2FyZS9waXRvcC92aXJ0dWFsX2hhcmR3YXJlL21vY2tfaGFyZHdhcmUvX19pbml0X18ucHk=) | `53.33% <ø> (ø)` | | | [...virtual\_hardware/mock\_hardware/vendor/Mock/GPIO.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvdmlydHVhbF9oYXJkd2FyZS9waXRvcC92aXJ0dWFsX2hhcmR3YXJlL21vY2tfaGFyZHdhcmUvdmVuZG9yL01vY2svR1BJTy5weQ==) | `53.39% <ø> (ø)` | | | [...ual\_hardware/mock\_hardware/vendor/Mock/\_\_init\_\_.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvdmlydHVhbF9oYXJkd2FyZS9waXRvcC92aXJ0dWFsX2hhcmR3YXJlL21vY2tfaGFyZHdhcmUvdmVuZG9yL01vY2svX19pbml0X18ucHk=) | `100.00% <ø> (ø)` | | | [...top/virtual\_hardware/simulation/images/\_\_init\_\_.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvdmlydHVhbF9oYXJkd2FyZS9waXRvcC92aXJ0dWFsX2hhcmR3YXJlL3NpbXVsYXRpb24vaW1hZ2VzL19faW5pdF9fLnB5) | `100.00% <ø> (ø)` | | | [...are/pitop/virtual\_hardware/simulation/simsprite.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvdmlydHVhbF9oYXJkd2FyZS9waXRvcC92aXJ0dWFsX2hhcmR3YXJlL3NpbXVsYXRpb24vc2ltc3ByaXRlLnB5) | `38.46% <ø> (ø)` | | | [...re/pitop/virtual\_hardware/simulation/simulation.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvdmlydHVhbF9oYXJkd2FyZS9waXRvcC92aXJ0dWFsX2hhcmR3YXJlL3NpbXVsYXRpb24vc2ltdWxhdGlvbi5weQ==) | `49.53% <ø> (ø)` | | | [...dware/pitop/virtual\_hardware/simulation/sprites.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvdmlydHVhbF9oYXJkd2FyZS9waXRvcC92aXJ0dWFsX2hhcmR3YXJlL3NpbXVsYXRpb24vc3ByaXRlcy5weQ==) | `47.82% <ø> (ø)` | | | [...cs/pitop/robotics/navigation/core/goal\_criteria.py](https://codecov.io/gh/pi-top/pi-top-Python-SDK/pull/569/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top#diff-cGFja2FnZXMvcm9ib3RpY3MvcGl0b3Avcm9ib3RpY3MvbmF2aWdhdGlvbi9jb3JlL2dvYWxfY3JpdGVyaWEucHk=) | `96.42% <0.00%> (+7.14%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pi-top)

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