-
Notifications
You must be signed in to change notification settings - Fork 652
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
Apply Ruff for Python Code #1562
Comments
@tigercosmos do you suggest we use it instead of Black as a formatter or just for linting? |
@seladb Ruff functions as both a formatter and a linter, and I chose it because it appears to be the fastest option. However, I'm open to discussing which tool we should use. |
@Dimi1010 @egecetin @clementperon please also share your opinions |
I don't have a strong opinion, so I am fine with either. |
I'm also fine with all options since the python code base is just for testing and really short in terms of line |
I'm also okay with using it for both. It's a lot faster than Black / Pylint but we'll probably not notice it because our Python code base is very small |
Okay, all of us are fine with either tool. I will try to use Ruff first. :) |
@tigercosmos can we close this issue? |
Ruff is the fastest linter and formatter written in Rust for the Python code. Since we already introduce clang-format in the project for the C++ part, the next step is to start formatting and lintting on the Python side.
The text was updated successfully, but these errors were encountered: