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

Format PatternMatchSingleton #6557

Closed
Tracked by #5834
dhruvmanila opened this issue Aug 14, 2023 · 1 comment · Fixed by #6741
Closed
Tracked by #5834

Format PatternMatchSingleton #6557

dhruvmanila opened this issue Aug 14, 2023 · 1 comment · Fixed by #6741
Assignees
Labels
formatter Related to the formatter good first issue Good for newcomers

Comments

@dhruvmanila
Copy link
Member

dhruvmanila commented Aug 14, 2023

This would be done in a similar manner as mentioned here (#6555 (comment)) except that this would be delegated to ExprConstant formatting instead.

Implement formatting for singleton formatting

match x:
    case None:
        ...
@dhruvmanila dhruvmanila added good first issue Good for newcomers formatter Related to the formatter labels Aug 14, 2023
@dhruvmanila dhruvmanila added this to the Formatter: Alpha milestone Aug 14, 2023
@LaBatata101
Copy link
Contributor

I would like to work on this

LaBatata101 added a commit to LaBatata101/ruff that referenced this issue Aug 21, 2023
LaBatata101 added a commit to LaBatata101/ruff that referenced this issue Aug 21, 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 good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants