sourcery
sourcery copied to clipboard
inlining of superfluous var
The inlining of a is not suggested:
def prepend(a, x):
a = "*" * x + a
return a
However, when providing the type str the refactoring is suggested:
def prepend(a:str, x):
a = "*" * x + a
return a