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

[Feature]: Use ruff to improve code style #195

Open
Nugine opened this issue May 4, 2024 · 1 comment
Open

[Feature]: Use ruff to improve code style #195

Nugine opened this issue May 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Nugine
Copy link

Nugine commented May 4, 2024

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

I see some small problems when I read through the codebase. It's easy to find out by a linter.

Describe the solution you'd like

Use ruff in github actions to enforce a unified code style.

pip install ruff
python -m ruff check **/*.py
@Nugine Nugine added the enhancement New feature or request label May 4, 2024
@RMSnow
Copy link
Collaborator

RMSnow commented May 4, 2024

Hi @Nugine, thanks for your insightful suggestions! We are now using Black to format the code. We will investigate ruff soon! (cc @Adorable-Qin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants