-
Notifications
You must be signed in to change notification settings - Fork 9
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
Expose kwargs PR #299
Expose kwargs PR #299
Conversation
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.
See comment above non-used code. Also, I think we could use 1 or 2 tests here. Even if very simple :-)
Added test, had to refactor old test to get some more 'real' noisy data, since previous data was just a linear regression kind of. |
$ ruff .
tests/test_metrics.py:4:18: F401 [*] `pandas` imported but unused @daniel-caichac-DHI have you used |
Don't even know what this is |
Ruff is a new and very popular linter, which we now use for all of our projects. It checks your code. |
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.
Great work!
Ok, following @jsmariegaard recommendation, I just did a simple PR exposing some kwargs in the Peak Ratio, and will try to use custom metrics instead.