Closed wetzelj closed 4 years ago
FYI... I recently updated to black v20.8b1. It appears to have introduced some changes to the docstring quotes. If there's a specific version I should be using, let me know. :)
Your branch looks great! One suggestion, it's slightly more python to do:
if values:
instead of
if len(values) > 0:
For black we install the latest version, so it might be okay (we can see how it runs when the PR is opened). We can pin a version if necessary after that. Open away! :)
Thank you again for this! It’s really lovely to have someone to collaborate with, and fulfilling to see the library getting better.
This bug presents itself in two locations:
Values being added to a %values list should be interrogated so that empty strings are not added to values lists and %values lists should be interrogated so that if a values list contains no values, the action is ignored.
I've put together a possible fix as well as unit tests for this condition within my fix/empty_values_lists branch. Let me know what you think.