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

Formatting: fix trailing commas #362

Merged
merged 1 commit into from
Jul 29, 2019
Merged

Conversation

Glutexo
Copy link
Collaborator

@Glutexo Glutexo commented Jul 19, 2019

Added trailing commas to the last item of multiline collections, if the ending parenthesis is not of the same line. Removed the comma if the parenthesis is there. This follows Black’s standard on where to put it. Neither moved the parentheses/brackets in any way, nor changed the line count of the expressions.

This is a part of the way towards a completely fixed formatting. Fixing the code according to Black’s standards will allow to use this tool automatically. #335

@Glutexo Glutexo self-assigned this Jul 19, 2019
@Glutexo Glutexo mentioned this pull request Jul 22, 2019
@Glutexo
Copy link
Collaborator Author

Glutexo commented Jul 24, 2019

This pull request has been approved. Can we merge it?

@Glutexo
Copy link
Collaborator Author

Glutexo commented Jul 25, 2019

Rebased, mergeable again.

@Glutexo Glutexo added the cleanup Small changes not affecting behavior label Jul 25, 2019
Added trailing commas to the last item of multiline collections, if the
ending parenthesis is not of the same line. Removed the comma if the
parenthesis is there. This follows Black’s standard on where to put it.
Neither moved the parentheses/brackets in any way, nor changed the line
count of the expressions.
@Glutexo
Copy link
Collaborator Author

Glutexo commented Jul 29, 2019

Rebased to resolve conflicts.

@dehort dehort merged commit fea3822 into RedHatInsights:master Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Small changes not affecting behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants