Skip to content
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

Closed
18 tasks done
MichaReiser opened this issue Jul 31, 2023 · 0 comments
Closed
18 tasks done

Formatter: August Goals #6203

MichaReiser opened this issue Jul 31, 2023 · 0 comments
Assignees
Labels
formatter Related to the formatter help wanted Contributions especially welcome

Comments

@MichaReiser
Copy link
Member

MichaReiser commented Jul 31, 2023

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.

Black 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 well

Performance [Stretch]

@MichaReiser MichaReiser added the formatter Related to the formatter label Jul 31, 2023
@MichaReiser MichaReiser added this to the Formatter: Alpha milestone Jul 31, 2023
@MichaReiser MichaReiser pinned this issue Jul 31, 2023
@MichaReiser MichaReiser removed this from the Formatter: Alpha milestone Jul 31, 2023
@MichaReiser MichaReiser added the help wanted Contributions especially welcome label Aug 1, 2023
@MichaReiser MichaReiser unpinned this issue Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatter Related to the formatter help wanted Contributions especially welcome
Projects
None yet
Development

No branches or pull requests

2 participants