-
Notifications
You must be signed in to change notification settings - Fork 1.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
📋 Black-compatible formatting of django #6069
Labels
formatter
Related to the formatter
Milestone
Comments
i went through the diff again an added some that i previously missed |
We don't plan on fixing the following black deviations because we believe that Ruff's formatting is more readable and implementing Black's formatting would require special handling. |
@konstin should we close this issue or do you want to do another pass? |
I want to shift focus to user reports and prioritize from there |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We would like to format the black-user django as closely to black as possible. Below is a list the bugs to be solved and features necessary to reach black compatibility on django. This list is manually curated by checking
git diff
aftercargo run --bin ruff_dev -- format-dev --write django
Larger features
FormattedValue
andJoinedStr
) #5913 (single biggest diff source)Comment placement
and
/or
and the right hand side #6062Breakpoints/grouping
Other
\
in raw string literals #5941LineSuffix
when formatting to include trailing comments #5630The text was updated successfully, but these errors were encountered: