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

(fix) SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED: skip comment #1254

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexey-pelykh
Copy link
Contributor

Fixes issue that the following code won't be reformatted with split_arguments_when_comma_terminated enabled:

class Class(  # comment
        object,):
    pass

@alexey-pelykh
Copy link
Contributor Author

(I have not added the CHANGELOG as the file seems outdated given the currently released version)

@alexey-pelykh alexey-pelykh changed the title (fix) split_arguments_when_comma_terminated: skip comment (fix) SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED: skip comment Dec 10, 2024
@alexey-pelykh alexey-pelykh force-pushed the fix/split_arguments_when_comma_terminated-with-comment branch from 929f49e to 849ed5d Compare December 10, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant