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

Feature: remove empty lines if desired #22

Open
ciklista opened this issue Mar 9, 2022 · 0 comments
Open

Feature: remove empty lines if desired #22

ciklista opened this issue Mar 9, 2022 · 0 comments

Comments

@ciklista
Copy link
Contributor

ciklista commented Mar 9, 2022

Issue
The way ruamel is currently used will keep empty lines in property files, e.g.

- name: customer_id
    description: ''

- name: created_at
  description: ''

Features
It would be great if we could set a flag that would remove these.

Pot. solution
This thread could be a starting point: https://stackoverflow.com/questions/42708668/removing-all-blank-lines-but-not-comments-in-ruamel-yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant