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
deprecate warning for not catch lowercase env var #2344
deprecate warning for not catch lowercase env var #2344
Conversation
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.
We should probably only raise this once per load, not for each variable. Also, can you add a unit test for coverage?
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
@ahopkins Do you think the code climate Cognitive Complexity limit can be increased? I have no idea about how to make it below 10... |
Maybe we can wrap this into a function? for converter in reversed(self._converters):
try:
self[config_key] = converter(value)
break
except ValueError:
pass |
Don't worry about it. We are going to give up on code climate soon and try to go back to codecov. |
Related issue: #2120