Open himalayanZephyr opened 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.38%. Comparing base (
6498a57
) to head (54e690f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
And change the other six occurrences?
We can then also flip from:
if not val:
... # do when no val
else:
... # do when val
To:
if val:
... # do when val
else:
... # do when no val
And can these be called when val
is something that is not None
or dict
, but still evaluates to false here? And if so, does it behave correctly?
@himalayanZephyr, please can you check the questions above?
Simplifying empty dictionary/None check