Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.