-
Notifications
You must be signed in to change notification settings - Fork 82
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: convert indent from visual to hanging #364
Conversation
This pull request has been approved. Can we merge it? |
3efe477
to
222b63a
Compare
Rebased, mergeable again. |
222b63a
to
38a586a
Compare
Rebased to resolve conflicts. |
Covert all visual indentation to hanging, preferred by Black. Some lines were transformed to have an optimal length. Lines that violates Black’s standards only in terms of length, but don’t in terms of the indentation were not touched. Split multiline strings have been recompiled to have the longest lines possible.
38a586a
to
5b0aed8
Compare
And one more conflict-resolving rebase. |
I manually resolved the conflict and pushed this as commit 257e0de. |
{"display_name": ""}, | ||
] | ||
invalid_data_list = [ | ||
{"ansible_host": "a"*256}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whitespace fix has not survived the merge.
"infrastructure_vendor": "i" * 101, | ||
"cloud_provider": "i" * 101}] | ||
system_profiles = [ | ||
{"infrastructure_type": "i"*101, "infrastructure_vendor": "i"*101, "cloud_provider": "i"*101} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whitespace fixes have not survived the merge.
Covert all visual indentation to hanging, preferred by Black. Some lines were transformed to have an optimal length. Lines that violates Black’s standards only in terms of length, but don’t in terms of the indentation were not touched. Split multiline strings have been recompiled to have the longest lines possible.
This is a part towards a cleanly formatted code that can be transformed by Black on every commit. #335