open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

Change formatter from Black to Ruff

Open MikeBirdTech opened this issue 2 years ago • 1 comments

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 avatar Dec 22 '23 16:12 MikeBirdTech

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

KillianLucas avatar Apr 17 '24 01:04 KillianLucas