-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: Add Ruff linting #55
Conversation
.github/workflows/pull-request.yaml
Outdated
- name: Check formatting with ruff | ||
run: ruff format --check guppy | ||
|
||
- name: Lint with ruff | ||
run: ruff check guppy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to use ruff_action instead, see example:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Just wondering, why is this better than just invoking the cli?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mainly future-proofing and version control https://github.com/chartboost/ruff-action
You may also want to add a |
Fixes #54