Open ruancomelli opened 1 year ago
Relabeled this as an enhancement proposal since the refactoring is still correct. We definitely want Sourcery to keep on refactoring until all items are added to the dictionary instantiation, but this is not a bug.
Checklist
Description
Related to https://github.com/sourcery-ai/sourcery/issues/339#issuecomment-1510428045.
Code snippet that reproduces issue
1 - Case reported in https://github.com/sourcery-ai/sourcery/issues/339
Input:
Expected refactored code:
Actual refactored code:
2 - Simplified version
The bug can more easily be reproduced with the following snippets: Input:
Expected refactored code:
Actual refactored code:
Debug Information
Sourcery Version: 1.2.0