The Sourcery CLI now
review command. Use this to get Sourcery to give suggestions and
comments in addition to standard refactorings. Commented lines will be
highlighted in red.
Add removal of bools to
was enhanced to handle unpacked dictionaries
will now also simplify len(s) < 0 as False and len(s) >= 0 as True
will now also cover raising BaseException and raising from other exceptions
Comments will now show on the correct line where there are functions with docstrings. Addresses issue #211
F-strings containing escaped characters will not be refactored into constant strings. Addresses issue #213.
now triggers in the correct way for applying
Do not apply if the variable is overwritten in a loop
We now assume
all write to their arguments, since they exhaust
iterators. This fixes