-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[CI] Format Python code with Black #21316
Comments
This was referenced Dec 31, 2021
6 tasks
pcmoritz
pushed a commit
that referenced
this issue
Jan 30, 2022
dmatrix
pushed a commit
to dmatrix/ray
that referenced
this issue
Jan 30, 2022
See ray-project#21316 and ray-project#21311 for the motivation behind these changes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once
format.sh
has been updated to support the Black code style (#21312) and we've preemptively fixed as many Black-related issues as possible (#21313, #21314, #21315), we can actually format the Python code with Black. Here's how we can achieve that:BLACK_FORMATTER_ENABLED
flag totrue
informat.sh
(see [CI] Updateformat.sh
to support the Black code style #21312)./scripts/format.sh
noqa
comments on lines that are too long.noqa
comments that have been moved out of place.The text was updated successfully, but these errors were encountered: