Skip to content

Add YAML runner config support#571

Merged
bugy merged 3 commits into
bugy:masterfrom
anthony-francisco:master
Sep 7, 2022
Merged

Add YAML runner config support#571
bugy merged 3 commits into
bugy:masterfrom
anthony-francisco:master

Conversation

@anthony-francisco

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/utils/custom_yaml.py Outdated
Comment on lines +6 to +9
contents=''
for line in content.split('\n'):
if not re.match (r'\s*//.*', line):
contents += line + "\n"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is not needed. Yaml supports comments by default (in the specification and in the library)

Comment thread src/config/config_service.py Outdated
Comment thread src/utils/custom_yaml.py Outdated
@bugy

bugy commented Aug 31, 2022

Copy link
Copy Markdown
Owner

Hi @anthony-francisco thanks for PR! I left a couple of comments which would be cool to solve

@anthony-francisco

Copy link
Copy Markdown
Contributor Author

Hi @bugy , I made some changes (regarding your comments).
I hope it will be now OK for you :)

@bugy

bugy commented Sep 7, 2022

Copy link
Copy Markdown
Owner

Hi @anthony-francisco thanks :) Could you also check my comment in custom_yaml.py?

@anthony-francisco

Copy link
Copy Markdown
Contributor Author

Hi @bugy , I forget to add/push/commit the moved of the "import yaml" line inside the loads function.
All is OK now. I hope :)

@bugy bugy added this to the 1.18.0 milestone Sep 7, 2022
@bugy

bugy commented Sep 7, 2022

Copy link
Copy Markdown
Owner

Great, thank you for the work!

@bugy bugy merged commit 55e8278 into bugy:master Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants