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

Use config dataclasses instead of HA dicts #43

Merged
merged 2 commits into from Apr 15, 2024
Merged

Conversation

dmulcahey
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Apr 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.81%. Comparing base (0a0294e) to head (ea077d7).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #43      +/-   ##
==========================================
+ Coverage   94.75%   94.81%   +0.06%     
==========================================
  Files          61       61              
  Lines        9200     9192       -8     
==========================================
- Hits         8717     8715       -2     
+ Misses        483      477       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -502,7 +498,7 @@ async def test_device_override(


async def test_quirks_v2_entity_discovery(
zha_gateway: Gateway,
zha_gateway: Gateway, # pylint: disable=unused-argument
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should disable unused-argument and redefined-outer-name for any file in tests/?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

on the fence. the redefined-outer-name one saved me a couple times when converting. I am mainly adding the hints to the files when I know they aren't an issue so I don't get distracted by them in vscode. I'll defer to consensus here.

@dmulcahey dmulcahey merged commit 4143035 into dev Apr 15, 2024
6 checks passed
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