-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bumps to ruff==0.9.2
and mypy==1.14.1
#16916
Conversation
Here I've bumped our pre-commit version of ruff to 0.9.2, which did entail a very large amount of formatting churn. The only major change here besides formatting is that I'm pinning the linter/formatter dependencies in `requirements-dev.txt` to the version we have in pre-commit. This helps avoid IDE "fighting" with pre-commit when folks installing `prefect`'s dev dependencies pick up a newer version of the linter than the pre-commit defines. Hopefully this will make contributions from other folks easier.
rev: "v0.2.1" | ||
rev: v0.9.2 |
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.
Relevant change
requirements-dev.txt
Outdated
# Linters and dev tools that are also in .pre-commit-config.yaml, which | ||
# should usually be updated together. | ||
codespell==2.2.6 | ||
ruff==0.9.2 | ||
mypy==1.9.0 | ||
vermin==1.6.0 | ||
|
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.
Relevant changes
CodSpeed Performance ReportMerging #16916 will not alter performanceComparing Summary
|
Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com>
Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com>
ruff==0.9.2
ruff==0.9.2
and mypy==1.14.1
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.
Thank you!
Thanks for the assist, dude! |
Here I've bumped our pre-commit version of ruff to 0.9.2, which did
entail a very large amount of formatting churn.
The only major change here besides formatting is that I'm pinning the
linter/formatter dependencies in
requirements-dev.txt
to the versionwe have in pre-commit. This helps avoid IDE "fighting" with pre-commit
when folks installing
prefect
's dev dependencies pick up a newerversion of the linter than the pre-commit defines. Hopefully this will
make contributions from other folks easier.
Checklist
<link to issue>
"mint.json
.