-
Notifications
You must be signed in to change notification settings - Fork 883
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
Update to Ruff 0.1.1 #1841
Update to Ruff 0.1.1 #1841
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1841 +/- ##
=======================================
Coverage 79.12% 79.12%
=======================================
Files 15 15
Lines 915 915
Branches 194 194
=======================================
Hits 724 724
Misses 168 168
Partials 23 23 ☔ View full report in Codecov by Sentry. |
Note that Ruff has adopted a new version policy (https://docs.astral.sh/ruff/versioning/), similar to SemVer. So we can now do >=0.1.1,<0.2.0 to get bugfixes and deprecation warnings, but don't get new (syntax) features.
Update the CLI syntax to --output-format=github for Ruff See astral-sh/ruff#8014
Cleaned up the commits, ready for review. See astral-sh/ruff#7984 and astral-sh/ruff#8014 for the change from |
.github/workflows/build_lint.yml
Outdated
@@ -70,11 +70,11 @@ jobs: | |||
uses: actions/setup-python@v4 | |||
with: | |||
python-version: "3.12" | |||
- run: pip install ruff==0.0.275 | |||
- run: pip install "ruff>=0.1.1,<0.2.0" # Update periodically |
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.
I think ruff~=0.1.1
should do.
Agreed, as long as they approximately follow SemVer that works. Feel free to squash on merge. |
The |
Merged, thank you. |
Note that Ruff has adopted a new version policy (https://docs.astral.sh/ruff/versioning/), similar to SemVer. So we can now do >=0.1.1,<0.2.0 to get bugfixes and deprecation warnings, but don't get new (syntax) features.