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

Add YAML runner config support #571

Merged
merged 3 commits into from
Sep 7, 2022
Merged

Conversation

anthony-francisco
Copy link
Contributor

No description provided.

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
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)

src/config/config_service.py Outdated Show resolved Hide resolved
src/utils/custom_yaml.py Outdated Show resolved Hide resolved
@bugy
Copy link
Owner

bugy commented Aug 31, 2022

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

@anthony-francisco
Copy link
Contributor Author

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

@bugy
Copy link
Owner

bugy commented Sep 7, 2022

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

@anthony-francisco
Copy link
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
Copy link
Owner

bugy commented Sep 7, 2022

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