-
Notifications
You must be signed in to change notification settings - Fork 79
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
Added black trailing comma style fix #832
Conversation
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
This reverts commit fccdb9a + fixes black version for first step
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #832 +/- ##
==========================================
- Coverage 95.03% 95.01% -0.02%
==========================================
Files 120 120
Lines 8270 8270
==========================================
- Hits 7859 7858 -1
- Misses 411 412 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Added a small comment (needs to be checked for lint)
Co-authored-by: Sarthak Pati <patis@iu.edu>
Is this trailing automated with a particular fixed version? |
Do you mean for the parameter |
Sorry, @Geeks-Sid didn't get your question. The original goal was just to add
Not sure if I answered the question; if smth is still unclear, feel free to ask! |
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.
Understood. LGTM. Quite long of a PR. Well done.
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.
LGTM
Fixes #830 : applies new black settings to the whole repo. No logic updates, linting style only
Proposed Changes
psf/black@stable
now runs the latest black version; the second, manual bypython -m black --check .
runs a hardcoded23.11.0
version. As their required fixes differ, CI fails (it's not possible to fit both versions simultaneously). Thus , hardcoded23.11.0
for first step also.gandlf_*
scripts only, black covers (almost) all the repo nowChecklist
CONTRIBUTING
guide has been followed.typing
is used to provide type hints, including and not limited to usingOptional
if a variable has a pre-defined value).pip install
step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].