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

Autoformat/spacevisitor #96

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Autoformat/spacevisitor #96

wants to merge 14 commits into from

Conversation

nielsdebruin
Copy link
Contributor

@nielsdebruin nielsdebruin commented Nov 29, 2024

What's changed?

Added progress on space visitor. Based on

What's your motivation?

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@nielsdebruin nielsdebruin added the enhancement New feature or request label Dec 2, 2024
@nielsdebruin nielsdebruin self-assigned this Dec 2, 2024
)
return a

def visit_assignment(self, assignment: Assignment, p: P) -> J:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For chained assignments I had to add a new Py.ChainedAssignment LST type, so you will here have to also override visit_chained_assignment().

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed now.

@knutwannheden knutwannheden linked an issue Dec 3, 2024 that may be closed by this pull request
27 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: Ready to Review
Development

Successfully merging this pull request may close these issues.

Python Autoformatter: Spaces
2 participants