ruff
816f7644 - Fix nested calls to `sorted` with differing arguments (#5761)

Commit
2 years ago
Fix nested calls to `sorted` with differing arguments (#5761) ## Summary Nested calls to `sorted` can only be collapsed if the calls are identical (i.e., they have the exact same keyword arguments). Update C414 to only flag such cases. Fixes #5712 ## Test Plan Updated snapshots. Tested against flake8-comprehensions. It incorrectly flags these cases.
Author
Parents
Loading