HERA-Team / uvtools

Tools useful for the handling, visualization, and analysis of interferometric data.
MIT License
1 stars 1 forks source link

Better Packaging #152

Closed steven-murray closed 1 year ago

steven-murray commented 1 year ago

This adds a few nicer packaging / CI goodies, like setuptools_scm (like the rest of the stack), a simpler pyproject.toml packaging config, auto-labeling of PRs, auto release-drafting, easier testing and better flake8 configuration.

Will add black in another PR.

codecov[bot] commented 1 year ago

Codecov Report

Base: 62.43% // Head: 62.55% // Increases project coverage by +0.12% :tada:

Coverage data is based on head (b033504) compared to base (268d21f). Patch coverage: 69.23% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #152 +/- ## ========================================== + Coverage 62.43% 62.55% +0.12% ========================================== Files 7 5 -2 Lines 1544 1469 -75 ========================================== - Hits 964 919 -45 + Misses 580 550 -30 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `62.55% <69.23%> (+0.12%)` | :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=HERA-Team#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/HERA-Team/uvtools/pull/152?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | Coverage Δ | | |---|---|---| | [uvtools/plot.py](https://codecov.io/gh/HERA-Team/uvtools/pull/152?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-dXZ0b29scy9wbG90LnB5) | `3.73% <40.00%> (-0.01%)` | :arrow_down: | | [uvtools/\_\_init\_\_.py](https://codecov.io/gh/HERA-Team/uvtools/pull/152?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-dXZ0b29scy9fX2luaXRfXy5weQ==) | `71.42% <71.42%> (-28.58%)` | :arrow_down: | | [uvtools/dspec.py](https://codecov.io/gh/HERA-Team/uvtools/pull/152?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-dXZ0b29scy9kc3BlYy5weQ==) | `97.76% <100.00%> (-0.01%)` | :arrow_down: | | [uvtools/utils.py](https://codecov.io/gh/HERA-Team/uvtools/pull/152?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-dXZ0b29scy91dGlscy5weQ==) | `61.76% <100.00%> (ø)` | | 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=HERA-Team). 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=HERA-Team)

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

steven-murray commented 1 year ago

@mkolopanis thanks for the review! I've fixed all those things and tests are back to passing :-)