-
Notifications
You must be signed in to change notification settings - Fork 469
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
Test multi-suggestion-ending-in-comma with pre-commit hook #3526
Labels
Comments
Better: first remove all trailing commas, then readd if there's a comma in the line. This also removes unnecessary trailing commas
|
Actually, any item after the last comma is supposed to be a comment. I'm not a huge fan of this functionality, but I think we shouldn't modify this until we have a better and documented way to comment. |
I see! I don't think there's a single comment like this at the moment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should be easy to write a little sed script to auto-fix/format this:
This should:
The text was updated successfully, but these errors were encountered: