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

Configure ruff action #512

Open
purva-thakre opened this issue Mar 14, 2024 · 1 comment
Open

Configure ruff action #512

purva-thakre opened this issue Mar 14, 2024 · 1 comment
Assignees

Comments

@purva-thakre
Copy link
Collaborator

purva-thakre commented Mar 14, 2024

We want to allow the following to use the linter and formatted options allowed by ruff. Right now, this only checks for the linter rules.

Option 1: use ruff format . to let the github action make changes in the PR directly
Option 2: use ruff format --check to fail the workflow if there are some changes to be made by the formatted

#510 (comment)

@purva-thakre
Copy link
Collaborator Author

In addition, ruff formatter configuration should be standardized. Even though we allow line-length to be <=120,
the following lines are changed by ruff as shown in the second screenshot.

image

image

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

No branches or pull requests

1 participant