You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this refactoring is useful for everyone (if it's too specific, consider a custom rule)
I have checked there are no similar issues suggesting the same thing
Description
After running append-to-extend, I get a lot of snippets like the one below. I expected merge-list-extend to further compress this, but so far it only triggers, when a list is passed to extend.
Code Before
my_list= []
my_list.extend(n**nforninrange(10))
Code After
my_list= [n**nforninrange(10))]
The text was updated successfully, but these errors were encountered:
Checklist
Description
After running
append-to-extend
, I get a lot of snippets like the one below. I expectedmerge-list-extend
to further compress this, but so far it only triggers, when a list is passed to extend.Code Before
Code After
The text was updated successfully, but these errors were encountered: