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

easy readible indent #517

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

wrenix
Copy link
Collaborator

@wrenix wrenix commented Feb 2, 2024

Pull Request

array with:

array:
  - 3

instatt of

array:
- 3

this is just of templating part {{- will remove all spaces before that, so moved to level of yaml structure.

(i change of {{ to {{- will happen in another PR with the replace of if to when).

draft, i am waiting for the merge of #516

@provokateurin
Copy link
Member

Do you know if there is a tool that could automatically enforce these style rules? I think your suggested changes are very good, I just want to ensure that they will stay that way and that other places can be safely refactored as well.

Signed-off-by: WrenIX <dev@wrenix.eu>
@wrenix
Copy link
Collaborator Author

wrenix commented Feb 2, 2024

At the moment, i do not know any tools - i will take a look into the chart-testing you already use (it use in background the yamllint tool written in python)

@wrenix wrenix marked this pull request as ready for review February 2, 2024 11:23
@provokateurin
Copy link
Member

Shall we merge this already or wait for a potential tool that could enforce the style?

@wrenix
Copy link
Collaborator Author

wrenix commented Feb 2, 2024

i like to create the next PR ... in the end, i want also add some chart-testing values-files as best practics ... maybe we discuss it there.

e.g.: a6ca7bd

@provokateurin provokateurin merged commit e1cea34 into nextcloud:main Feb 2, 2024
2 checks passed
@wrenix wrenix deleted the chore/metrics-indent branch February 5, 2024 11:48
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

Successfully merging this pull request may close these issues.

2 participants