-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
handle inline comments, and ignore spaces outside quotes #475
handle inline comments, and ignore spaces outside quotes #475
Conversation
Your PR was set to target |
I noticed related issues that are addressed by this PR: |
@lvanderree I've been looking through your pull request and in principle, everything looks great. I really like what you've done here. However, there seem to be a few builds that failed, notably the code style checks and linters. Could you please have a look into why these didn't pass and make the necessary adjustments? It would greatly assist in maintaining our codebase's quality and readability. Also, I would appreciate it if you could add an entry in the changelog about these changes. This would save me some time and ensure that we keep our documentation up to date. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work on the PR! Noticed some linter warnings. Please, could you address them? After that, it'll be ready for merge. Thanks!
Looks great. Thank you for contributing and patience |
Unfortunately the Django |
what is the breaking change exactly? Have you got an example that isn't working anymore? |
.env file contents:
Test 2750dd5 (this PR)
Test 8874288 (v0.10.0)
For more see: #499 |
Hey @lvanderree, I'm currently working on some modifications to the functionality you introduced in this PR. While the inline comments feature is useful, it has led to some unintended side effects that need addressing. I've opened a new pull request (see #500) to tackle these issues. I'd appreciate your thoughts and any feedback you might have on this. |
If the SECRET_KEY variable starts with a # then the site will not load, because a non-blank secret key is required. If the SECRET_KEY contains a #, then the key will be silently shortened which reduces security. |
STR_VAR=bar | ||
STR_QUOTED_IGNORE_COMMENT= 'foo' # comment | ||
STR_QUOTED_INCLUDE_HASH='foo # with hash' # not comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String "ab#cd"
does not work(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #500
capable of handling inline comments (outside quotes).
So if you want "#" hashes in your values, place them inside quotes.
Also ignoring spaces outside quotes