Extent merge-dict-assign
for more than one dictionary #436
Open
Description
Checklist
- 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
Currently, sourcery
is only refactoring the first dictionary of several like starting with:
_dict = {}
_dict["A"] = "a"
_dict["B"] = "b"
Code Before
_dict = {"A": "a"}
_dict["B"] = "b"
Code After
_dict = {"A": "a", "B": "b"}