Skip to content

Cleanup misc - rename to utils, add typing and tests#317

Merged
sveinse merged 3 commits intocustom-components:masterfrom
sveinse:feature-cleanup-misc
Sep 1, 2025
Merged

Cleanup misc - rename to utils, add typing and tests#317
sveinse merged 3 commits intocustom-components:masterfrom
sveinse:feature-cleanup-misc

Conversation

@sveinse
Copy link
Collaborator

@sveinse sveinse commented Aug 31, 2025

This PR contains the cleanup of zaptec/misc.py. All ruff errors have been removed (and even some caught by the pyright static type checker) and tests for the functions have been added.

@steinmn
Copy link
Contributor

steinmn commented Aug 31, 2025

Could we maybe rename the file to utils.py or something instead? Misc just seems like a draft to me.

@sveinse sveinse added this to the v0.8.3 milestone Aug 31, 2025
@sveinse
Copy link
Collaborator Author

sveinse commented Aug 31, 2025

I have no strong opinion between either, so why not. I'll do the change.

Copy link
Contributor

@steinmn steinmn left a comment

Choose a reason for hiding this comment

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

LGTM

@sveinse sveinse changed the title Cleanup misc - add typing and tests Cleanup misc - rename to utils, add typing and tests Sep 1, 2025
@sveinse sveinse merged commit a4fd477 into custom-components:master Sep 1, 2025
6 checks passed
@sveinse sveinse deleted the feature-cleanup-misc branch September 1, 2025 18:43
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.

2 participants