GispoCoding / pytest-qgis

A pytest plugin for testing QGIS python plugins
GNU General Public License v2.0
29 stars 8 forks source link

Improve code style and CI #39

Closed Joonalai closed 1 year ago

Joonalai commented 1 year ago

This PR:

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 38.46% and project coverage change: +0.57 :tada:

Comparison is base (d81a06d) 54.66% compared to head (abe13ca) 55.24%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #39 +/- ## ========================================== + Coverage 54.66% 55.24% +0.57% ========================================== Files 7 7 Lines 472 458 -14 ========================================== - Hits 258 253 -5 + Misses 214 205 -9 ``` | Flag | Coverage Δ | | |---|---|---| | pytest | `55.24% <38.46%> (+0.57%)` | :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=GispoCoding#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/GispoCoding/pytest-qgis/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GispoCoding) | Coverage Δ | | |---|---|---| | [src/pytest\_qgis/mock\_qgis\_classes.py](https://app.codecov.io/gh/GispoCoding/pytest-qgis/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GispoCoding#diff-c3JjL3B5dGVzdF9xZ2lzL21vY2tfcWdpc19jbGFzc2VzLnB5) | `33.33% <0.00%> (ø)` | | | [src/pytest\_qgis/qgis\_interface.py](https://app.codecov.io/gh/GispoCoding/pytest-qgis/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GispoCoding#diff-c3JjL3B5dGVzdF9xZ2lzL3FnaXNfaW50ZXJmYWNlLnB5) | `48.35% <0.00%> (+4.35%)` | :arrow_up: | | [src/pytest\_qgis/pytest\_qgis.py](https://app.codecov.io/gh/GispoCoding/pytest-qgis/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GispoCoding#diff-c3JjL3B5dGVzdF9xZ2lzL3B5dGVzdF9xZ2lzLnB5) | `52.47% <33.33%> (-0.20%)` | :arrow_down: | | [src/pytest\_qgis/utils.py](https://app.codecov.io/gh/GispoCoding/pytest-qgis/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GispoCoding#diff-c3JjL3B5dGVzdF9xZ2lzL3V0aWxzLnB5) | `74.64% <66.66%> (-0.36%)` | :arrow_down: | | [src/pytest\_qgis/qgis\_bot.py](https://app.codecov.io/gh/GispoCoding/pytest-qgis/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GispoCoding#diff-c3JjL3B5dGVzdF9xZ2lzL3FnaXNfYm90LnB5) | `64.10% <100.00%> (-2.57%)` | :arrow_down: |

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