ruff
[`ssort`] Implement statement reording
#22235
Open

[`ssort`] Implement statement reording #22235

JackAshwell11 wants to merge 10 commits into astral-sh:main from JackAshwell11:jack/ssort
JackAshwell11
JackAshwell11 JackAshwell11 force pushed from bc76fe02 to 223c9027 19 days ago
MichaReiser MichaReiser added isort
ntBre ntBre requested a review from ntBre ntBre 18 days ago
JackAshwell11 JackAshwell11 force pushed from 223c9027 to 0662d0d8 18 days ago
JackAshwell11 JackAshwell11 marked this pull request as ready for review 18 days ago
ntBre
ntBre commented on 2025-12-29
JackAshwell11 JackAshwell11 force pushed from bd01b5b3 to 00aa6877 18 days ago
codspeed-hq
astral-sh-bot
MichaReiser
MichaReiser commented on 2025-12-30
MichaReiser
MichaReiser commented on 2025-12-30
JackAshwell11 JackAshwell11 force pushed from 00aa6877 to d1bad186 17 days ago
JackAshwell11 JackAshwell11 force pushed from f3409a9d to 9ba44677 17 days ago
ntBre
JackAshwell11 Initial commit of setting up ssort rules and linter compatability
5e21bd5f
JackAshwell11 Introduced a dependency graph and a topological sort for analysing an…
4a3ab6ff
JackAshwell11 Refactored and cleaned up ssort's internals, so every statement now b…
5a831f1a
JackAshwell11 Improved ssort replacement string generation to preserve original for…
27ba34f4
JackAshwell11 Added support for sorting inside classes by recursively calling `orga…
7ea42c11
JackAshwell11 Added support for narrative ordering in ssort controllable via the li…
37027a1f
JackAshwell11 Added a new rule for detecting cycles in function/method calls
6acc6969
JackAshwell11 Added Python test file fixtures to test the correctness of the ssort …
4e835e08
JackAshwell11 Removed `FunctionCallCycle` as it may be controversial
4da833f8
JackAshwell11 Added code review fixes:
fb6b12ae
JackAshwell11 JackAshwell11 force pushed from 9ba44677 to fb6b12ae 15 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone