Right now, settings are always considered true when coerced to bool:
if some_setting:
# always executes
It's easy to forget to call .get(), and rather than raising an error, this silently does the wrong thing. Instead, it should either raise an error or behave as if bool(some_setting.get()) was called.
Right now, settings are always considered true when coerced to bool:
It's easy to forget to call .get(), and rather than raising an error, this silently does the wrong thing. Instead, it should either raise an error or behave as if bool(some_setting.get()) was called.