-
Notifications
You must be signed in to change notification settings - Fork 888
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to ALLOW_MULTILINE_LISTS
?
#1228
Comments
Oops, just noticed this is a dupe of #1209 (comment) . The simple workaround there works fine; just add a trailing comma to the list. Still, I think a dedicated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Similar to
ALLOW_MULTILINE_DICTIONARY_KEYS
, I would like YAPF to preserve the formatting of list items that have been declared on individual lines, e.g.As far as I can tell, the only ways to achieve this would be to adjust the
COLUMN_LIMIT
(which would have side effects) or to wrap this block in# yapf: disable / enable
comments. Is there a cleaner solution?Thank you. Love your formatter.
The text was updated successfully, but these errors were encountered: