Skip to content

suggestion: adding ssort to pre-commit config? #773

Description

@kratsg

This project is similar in concept to isort but for statements within the source code -- https://github.com/bwhmather/ssort . This seems like it would help enforce consistency as well to lead towards smaller diffs, thoughts?

Activity

  1. henryiii commented on Apr 5, 2026

    @henryiii
    Collaborator

    Interesting! Guess it's not part of Ruff (yet)? I'd want to try it out a bit before starting to work it in here, but looks interesting. The smaller diffs argument (used for isort) isn't as applicable here, I think, since you are less likely to write matching functions than import the same module, but I like removing arbitrary choices and ordering functions is terrible manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions