-
Notifications
You must be signed in to change notification settings - Fork 428
godotenv removes trailing #..
as comment
#147
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
Comments
@gzapatas nice. Why don't you propose this as a pull-request? |
Just to chime in and +1 this, we also need this 👍 |
Tried Autonomic-Cooperative@075e12e but actually Autonomic-Cooperative@b031ea1 was the winner 🙃 |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Comments in .env files must be preceded by a space character
godotenv looking for comments delimiter must check previous character is a blanck one
see https://github.com/theskumar/python-dotenv/blob/master/tests/test_parser.py#L20-L23 as an explicit test case to check
a=b#c
should be parsed as key=a
, value=b#c
, buta=b #c
should be parsed as key=a
, value=b
.The text was updated successfully, but these errors were encountered: