-
Notifications
You must be signed in to change notification settings - Fork 402
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
fix: add missing tests, correct calls to DictWrapper constructor and improve metrics type hints #168
Conversation
Changes: * validator - Add test for the validator decator with an envelope * data_classes - Call DictWrapper constructor with the nested dict
Codecov Report
@@ Coverage Diff @@
## develop #168 +/- ##
============================================
+ Coverage 99.90% 100.00% +0.09%
============================================
Files 52 52
Lines 2151 2151
Branches 96 96
============================================
+ Hits 2149 2151 +2
+ Misses 1 0 -1
+ Partials 1 0 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for those changes @michaelbrewer, and for catching an issue with the data_classes utilities.
Could you update description to reflect what changed here? Title reflects validator test only.
One minor issue with type hint as it should've been float over int due to value, and numeric tower also catches int as part of float
Co-authored-by: Heitor Lessa <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected
Co-authored-by: Heitor Lessa <[email protected]>
Issue #, if available:
Description of changes:
Changes:
Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.