-
Notifications
You must be signed in to change notification settings - Fork 1
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
ci: refresh settings and workflow #146
Conversation
daabr
commented
Jan 5, 2025
- Enable unit testing (except in the Purrr project - those UT require AK context)
- Add various optional but important linters to Ruff
- Don't pin pytest and ruff versions, no point in updating it from time to time like in the AK repo
@@ -1,7 +1,7 @@ | |||
# Add "test" once we have unit tests | |||
all: deps format lint # test | |||
all: deps lint format test |
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.
Is there a specific reason for changing the order between lint and format?
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.
Yes. It turns out that import sorting happens in the lint step, we I'm allowing the formatter to react to that. Other than that the order doesn't really matter either way.
pytest | ||
ruff |
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.
Why did we remove the version constraint
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.
As I wrote in the PR description: no point in updating them from time to time like in the AK repo, we're OK with (and in fact prefer) always using the latest release
- Enable unit testing (except in the Purrr project - those UT require AK context) - Add various optional but important linters to Ruff - Don't pin pytest and ruff versions, no point in updating it from time to time like in the AK repo