-
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
Formatter: August Goals #6203
Labels
Comments
Merged
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Our goal for the next four weeks / August is to make progress on some of the remaining hard problems and close the gap to Black. We're looking for contributors that help us implement the remaining syntaxes (preliminary match statement at this point) and fix black incompatibilities. Please reach out if you're interested in tackling something else.
Syntax support
Our goal is to support formatting of all Python syntax by the end of this iteration. This includes fixing bugs where the formatter changes semantics OR introduces syntax errors.
FormattedValue
andJoinedStr
) #5913Match
(includesMatchCase
andPatterns
) #5834nonlocal
statementglobal
statement\
in raw string literals #5941Black compatibility
Our goal is to fix some black, what we believe more complicated, Black divergences:
Suppression and Pragma comments
Black supports disabling formatting for sections or a single line and implements custom logic to ensure that pragma comments (
noqa
,type-ignore
) are kept to the syntax they applied to. Ruff needs to support these comments as wellPerformance [Stretch]
The text was updated successfully, but these errors were encountered: