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

Python Autoformatter: Spaces #97

Open
14 of 27 tasks
nielsdebruin opened this issue Dec 2, 2024 · 0 comments · May be fixed by #96
Open
14 of 27 tasks

Python Autoformatter: Spaces #97

nielsdebruin opened this issue Dec 2, 2024 · 0 comments · May be fixed by #96
Assignees
Labels
enhancement New feature or request

Comments

@nielsdebruin
Copy link
Contributor

nielsdebruin commented Dec 2, 2024

What problem are you trying to solve?

This issue tracks the progress of implementing support for all the Python auto-formatting options related to spaces. The relevant functionality will mostly be implemented in the SpaceVisitor in a similar fashion as the Java formatter.

Implementation Checklist

Before Parentheses

  • method_call
  • method_declaration
  • left_bracket

Around Operators

  • assignment
  • equality
  • relational
  • bitwise
  • additive
  • multiplicative
  • shift
  • power
  • eq_in_named_parameter
  • eq_in_keyword_argument

Within

  • brackets
  • method_declaration_parentheses
  • empty_method_declaration_parentheses
  • method_call_parentheses
  • empty_method_call_parentheses
  • braces

Other

  • before_comma
  • after_comma
  • before_for_semicolon
  • before_colon
  • after_colon
  • before_backslash
  • before_hash
  • after_hash
@nielsdebruin nielsdebruin added the enhancement New feature or request label Dec 2, 2024
@nielsdebruin nielsdebruin self-assigned this Dec 2, 2024
@nielsdebruin nielsdebruin linked a pull request Dec 2, 2024 that will close this issue
3 tasks
@knutwannheden knutwannheden linked a pull request Dec 3, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant