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

Support comma format #15

Open
nhairs opened this issue Jun 4, 2024 · 0 comments
Open

Support comma format #15

nhairs opened this issue Jun 4, 2024 · 0 comments
Labels
enhancement New feature or request open for discussion Community feedback is wanted

Comments

@nhairs
Copy link
Owner

nhairs commented Jun 4, 2024

The "comma" format (as mentioned in the cookbook), is probably worth adding as a directly supported format.

Pros:

  • very simple to create from a list (or any iterable) using ",".join(x)
  • simpler format to write so less prone to errors in the format
    • Other styles may have missing brackets, tokens, etc.
  • very readable

Cons:

  • This format is incompatible with other formatters.
    • i.e. once you move to this config it is harder to move to other formatters
@nhairs nhairs added enhancement New feature or request open for discussion Community feedback is wanted labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request open for discussion Community feedback is wanted
Projects
None yet
Development

No branches or pull requests

1 participant