-
Notifications
You must be signed in to change notification settings - Fork 122
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: use dependency-groups #1517
Conversation
lint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
- "3.13" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- uses: astral-sh/setup-uv@v5 | ||
with: | ||
enable-cache: true | ||
- name: Sync | ||
run: uv sync | ||
- name: Execute linters & type checkers | ||
run: uv run pre-commit run --all-files | ||
|
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 don't feel like we need a separate lint job, moved this to the main check.
.python-version
Outdated
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.
This gives us a default Python version for uv in CI, but doesn't force it for downstream users or anything.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1517 +/- ##
=======================================
Coverage 91.47% 91.47%
=======================================
Files 54 54
Lines 7542 7542
Branches 915 915
=======================================
Hits 6899 6899
Misses 457 457
Partials 186 186 ☔ View full report in Codecov by Sentry. |
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.
Wow that is much cleaner. This is making me wonder how you feel about the top-level scripts to rule them all. I don't tend to use them with library development.
Same. #1518 |
Description:
dev-depdendencies are considered legacy now. Also does some cleanup of CI. No CHANGELOG needed.
PR Checklist:
scripts/test
)