-
Notifications
You must be signed in to change notification settings - Fork 412
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
Warning on wrong call order #164
Conversation
Hello @SkafteNicki! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-05-03 17:14:55 UTC |
Codecov Report
@@ Coverage Diff @@
## master #164 +/- ##
=======================================
Coverage 79.67% 79.68%
=======================================
Files 90 90
Lines 2874 2879 +5
=======================================
+ Hits 2290 2294 +4
- Misses 584 585 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@SkafteNicki is this ready to go? |
@maximsch2 mind check comments/questions from @SkafteNicki? |
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.
Cool =)
LGTM with the warning. |
Before submitting
What does this PR do?
Warn user if
compute
is called beforeupdate
as most metrics are meaningless or will produce errors if their states have not been updated. Will return 0.0 in this case.PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃