Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change formatter from Black to Ruff #849

Open
MikeBirdTech opened this issue Dec 22, 2023 · 1 comment
Open

Change formatter from Black to Ruff #849

MikeBirdTech opened this issue Dec 22, 2023 · 1 comment
Labels
Enhancement New feature or request Good First issue Good for newcomers Triaged Issue has been reviewed by maintainer

Comments

@MikeBirdTech
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Changing from Black to Ruff will increase the speed of development and deployment. From Astral:
The Ruff formatter is an extremely fast Python formatter, written in Rust. It’s over 30x faster than [Black](https://github.com/psf/black) and 100x faster than [YAPF](https://github.com/google/yapf), formatting large-scale Python projects in milliseconds — all while achieving >99.9% Black compatibility.

More information can be found on their blog post

Describe alternatives you've considered

No response

Additional context

Lots of projects are switching to Ruff and seeing massive performance gains. Some examples are: Gradio, Jax, Flask, and many more

@MikeBirdTech MikeBirdTech added the Enhancement New feature or request label Dec 22, 2023
@MikeBirdTech MikeBirdTech added Good First issue Good for newcomers Triaged Issue has been reviewed by maintainer labels Mar 27, 2024
@KillianLucas
Copy link
Collaborator

I think this is smart for attracting the Rust community :) Will merge Suibhne's PR and close this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Good First issue Good for newcomers Triaged Issue has been reviewed by maintainer
Projects
None yet
Development

No branches or pull requests

2 participants