zigpy / zigpy-znp

TI CC2531, CC13x2, CC26x2 radio support for Zigpy and ZHA
GNU General Public License v3.0
144 stars 40 forks source link

Remove package versioning from Git repo and migrate to `pyproject.toml` #202

Closed puddly closed 1 year ago

puddly commented 1 year ago

This change removes zigpy_znp.__version__: to get the version of the package, you should be using pkg_resources.get_distribution("zigpy_znp").version. This allows for releases to be made without a corresponding PR to bump the version.

setup.cfg is also now gone: everything is stored in pyproject.toml!

codecov-commenter commented 1 year ago

Codecov Report

Base: 98.50% // Head: 98.49% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (0fa378b) compared to base (e3c38aa). Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #202 +/- ## ========================================== - Coverage 98.50% 98.49% -0.01% ========================================== Files 44 43 -1 Lines 3801 3799 -2 ========================================== - Hits 3744 3742 -2 Misses 57 57 ``` | [Impacted Files](https://codecov.io/gh/zigpy/zigpy-znp/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy) | Coverage Δ | | |---|---|---| | [zigpy\_znp/api.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL2FwaS5weQ==) | `96.47% <100.00%> (-0.47%)` | :arrow_down: | | [zigpy\_znp/tools/network\_backup.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL3Rvb2xzL25ldHdvcmtfYmFja3VwLnB5) | `97.87% <100.00%> (+0.04%)` | :arrow_up: | | [zigpy\_znp/zigbee/application.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL3ppZ2JlZS9hcHBsaWNhdGlvbi5weQ==) | `95.03% <0.00%> (+0.53%)` | :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=zigpy). 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=zigpy)

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