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

Refactor libs, add tests, preserve comments in sorted list #10

Merged
merged 10 commits into from
Sep 5, 2023
Merged

Conversation

sarnold
Copy link
Owner

@sarnold sarnold commented Sep 4, 2023

No description provided.

sarnold and others added 9 commits July 16, 2023 20:48
* the comment munging is currently broken on sort key syntax
* the pre/post-processing of jinja triple-curly braces does work

Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
* sorting is still an issue and apparently very !wip

Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
* sprinkle some pylint: disable for issues that are not issues

Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
sorted() returs a normal list which loses info in extra members
of the CommentedSeq object, but the sort method sorts elements
inside the existing CommentedSeq object
Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
@sarnold sarnold changed the title Preserve comments in sorted list Refactor libs, add tests, preserve comments in sorted list Sep 5, 2023
Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

Package Line Rate Branch Rate Complexity Health
src.ymltoxml 91% 77% 0
Summary 91% (140 / 154) 77% (40 / 52) 0

@sarnold sarnold merged commit fc0a2aa into main Sep 5, 2023
33 of 34 checks passed
@sarnold sarnold deleted the comments branch September 6, 2023 06:51
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