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

Tabs vs spaces #169

Open
kasun-buddhi opened this issue Apr 26, 2024 · 3 comments
Open

Tabs vs spaces #169

kasun-buddhi opened this issue Apr 26, 2024 · 3 comments

Comments

@kasun-buddhi
Copy link

When I was using Bender, I was confused with using indentations. I think Bender only uses spaces as indentation. But I think placing white space (tabs or spaces) is much easier for programmers.

@micprog
Copy link
Member

micprog commented Apr 26, 2024

I assume you mean in the generated scripts? I don't quite know how you would like to tailor to users' preferences, but feel free to propose a change in a PR.

@kasun-buddhi
Copy link
Author

Not in the generated scripts. When I was making a bender.yml file, I faced that issue. It is not a major issue but It would be great to have white spaces instead of tabs and spaces.

@micprog
Copy link
Member

micprog commented May 17, 2024

The Bender.yml is read using the serde_yaml package (see https://github.com/pulp-platform/bender/blob/master/src/cli.rs#L375-L387). If there is a configuration that is missing to allow your whitespaces, let me know (easiest with a PR that can be integrated), but fixing serde_yaml within bender does not make sense.

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

2 participants