Zac-HD / shed

`shed` canonicalises Python code. Shed your legacy, stop bikeshedding, and move on. Black++
https://pypi.org/project/shed/
GNU Affero General Public License v3.0
343 stars 23 forks source link

Don't merge nested calls to sorted with a key. #81

Closed DRMacIver closed 1 year ago

DRMacIver commented 1 year ago

Fixes #69

Possibly there's a more idiomatic way to do this with libcst matchers - I'm new to the library so wasn't sure - but if so it wasn't obvious to me, and this seemed a straightforward enough way to do it. Let me know if there's an approach you'd prefer.