-
Notifications
You must be signed in to change notification settings - Fork 82
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: 🐛 don't check if dataset is supported when we know it is #720
Conversation
codecov upload is failing... it's not related to the PR - fixed (hidden) with #721 |
Codecov ReportBase: 92.01% // Head: 91.56% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #720 +/- ##
==========================================
- Coverage 92.01% 91.56% -0.46%
==========================================
Files 33 65 +32
Lines 2205 3865 +1660
==========================================
+ Hits 2029 3539 +1510
- Misses 176 326 +150
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View 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.
Looks good
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.
Thank you for removing the unnecessary check.
@@ -59,5 +59,5 @@ jobs: | |||
with: | |||
working-directory: ${{ inputs.working-directory }} | |||
files: ./coverage.xml | |||
fail_ci_if_error: true | |||
fail_ci_if_error: false |
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 guess this change is unrelated to this PR... ;)
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.
Yes, I used a separate PR for that: #720 (comment), and merged it here...
Maybe it would have been better to send to main... Well, next time
@@ -26,6 +26,7 @@ def update_dataset( | |||
hf_token: Optional[str] = None, | |||
force: bool = False, | |||
priority: Priority = Priority.NORMAL, | |||
skip_check_support: bool = False, |
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.
We have recently had a discussion in datasets
about parameters with reversed semantic meaning...
What about reversing the logic? Something like do_check_support
and being True by default?
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.
Or support_checking
...
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.
OK, you're right
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.
done with 52d2cf6
Co-authored-by: Albert Villanova del Moral <[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.
Thanks!
Sorry, didn't see you already approved... Merging |
As we are running a loop of updates on supported datasets, it's useless to check if the dataset is supported inside the
update_dataset
method.