Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some minor cleanups #127

Merged
merged 4 commits into from
Feb 11, 2024
Merged

Some minor cleanups #127

merged 4 commits into from
Feb 11, 2024

Conversation

mvdwetering
Copy link
Contributor

@mvdwetering mvdwetering commented Feb 4, 2024

When browsing the sources I noticed a few unused things that could be cleaned up.

The "domains" key in hacs.json is not supported. I guess it was supported in the past, but it is not documented anymore on https://hacs.xyz/docs/publish/start/#hacsjson

Removed unused constants and util.py which was not used.

The integration still loads fine for me after the changes. I did not run the tests as it is unclear to me how to do so. Usually there is a requirements.txt or requirements_test.txt file to install dependencies and then just run pytest, but that didn't work and could not find instructions on how to do it.

@mvdwetering mvdwetering requested a review from a team as a code owner February 4, 2024 15:54
Copy link

sonarcloud bot commented Feb 4, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@bouwew bouwew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is all left-over code from before the split-off.
Thanks for the clean-up!

@bouwew bouwew merged commit 722ff53 into plugwise:main Feb 11, 2024
4 checks passed
@mvdwetering mvdwetering deleted the some_cleanups branch February 11, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants