-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Flake8 Fixes (Part 2) #1552
Flake8 Fixes (Part 2) #1552
Conversation
9ac4543
to
0d2d874
Compare
0d2d874
to
a1a012f
Compare
4a2396f
to
780cb03
Compare
@@ -221,7 +221,7 @@ def evaluation_log_hook( | |||
batch_size (int): Number of samples fed into the model at a time. | |||
Note, the batch size doesn't affect on evaluation results. | |||
eval_fns (iterable of functions): List of evaluation functions that have signature of | |||
(true_df, prediction_df, \*\*eval_kwargs)->(float). If None, loss is calculated on true_df. | |||
(true_df, prediction_df, **eval_kwargs)->(float). If None, loss is calculated on true_df. |
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.
Isn't this going to have a different effect i.e. make the text bold? https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html?highlight=asterisk#inline-markup
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.
I think this bolds the text only if it is encapsulated on both sides ( **eval_kwargs**
), but I can compile the docs and confirm.
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 comments
Codecov Report
@@ Coverage Diff @@
## staging #1552 +/- ##
============================================
+ Coverage 0.00% 62.13% +62.13%
============================================
Files 84 84
Lines 8436 8437 +1
============================================
+ Hits 0 5242 +5242
- Misses 0 3195 +3195
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
LGTM |
Description
This is the part 2 of the flake8 fixes. For part 1, please see #1550.
The following flake8 issues are addressed in this PR. For lines contained in our code coverage, source code fixes are applied whenever possible. For lines outside our code coverage, flake8 exception is made as an inline comment (e.g.
# noqa: <PEP 8 RULE>
).Coding Convention Issues
Critical issues (can be indication of potential bugs)
For Reviewers, please direct your attention to commits marked with (**), as they may indicate some critical logical issues.
Checklist:
staging branch
and not tomain branch
.