Skip to content

Support Ruff formatter as an alternative for Black #352

Open
@jond01

Description

@jond01

Description

Ruff formatter can replace Black, and it's much faster:
https://docs.astral.sh/ruff/formatter/

I suggest supporting it as an option while keeping Black the default Python formatter.
Opting for Ruff can be done via a flag or persistent file configuration.

Implementation-wise it would be different from Black, as Ruff does not have a Python API. It's achievable though.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions