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

rfe: Introuce ruff-pre-commit #4139

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PaulYuuu
Copy link
Contributor

@PaulYuuu PaulYuuu commented Aug 22, 2024

rfe: Introduce ruff-pre-commit

Ruff is a fast, extensible Python linter designed to catch common issues
in Python code, such as syntax errors, stylistic inconsistencies, and
potential bugs.

ID: 2802
Depends on: #4077

@PaulYuuu PaulYuuu changed the title chore: Support pre-commit rfe: Introuce ruff-pre-commit Aug 22, 2024
@PaulYuuu PaulYuuu force-pushed the pre-commit-ruff branch 3 times, most recently from d75de87 to 1a02de4 Compare August 23, 2024 03:00
Ruff is a fast, extensible Python linter designed to catch common issues
in Python code, such as syntax errors, stylistic inconsistencies, and
potential bugs.

Signed-off-by: Yihuang Yu <[email protected]>
pylint E203 conflicts with black style, so disable it, also manual fix
some E0606 issues after ruff format.

Signed-off-by: Yihuang Yu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant