Skip to content

ci: use nox-uv#34

Merged
nstarman merged 4 commits intoGalacticDynamics:mainfrom
nstarman:nox
Dec 10, 2025
Merged

ci: use nox-uv#34
nstarman merged 4 commits intoGalacticDynamics:mainfrom
nstarman:nox

Conversation

@nstarman
Copy link
Contributor

No description provided.

Signed-off-by: nstarman <nstarman@users.noreply.github.com>
@nstarman nstarman added this to the v1.0.x milestone Dec 10, 2025
Copilot AI review requested due to automatic review settings December 10, 2025 00:15
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the project's CI infrastructure to use nox-uv, which integrates nox with uv's dependency management system. The change replaces manual session.install() calls with the @session(uv_groups=[...]) decorator pattern, allowing nox to automatically sync dependencies from pyproject.toml dependency groups.

Key changes:

  • Introduces nox-uv integration via the session decorator from nox_uv
  • Refactors noxfile.py sessions to use shorter parameter names and leverage uv dependency groups
  • Adds new lint and nox dependency groups to pyproject.toml
  • Updates CI workflow to run lint checks through the consolidated nox lint session

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 6 comments.

File Description
pyproject.toml Adds lint and nox dependency groups to support nox-uv integration
noxfile.py Migrates from standard nox to nox-uv with session decorator, refactors sessions to use dependency groups, and renames sessions for clarity
.github/workflows/ci.yml Simplifies lint workflow by consolidating pre-commit and pylint steps into single nox lint command

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e30dd89) to head (ea261d3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #34   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            6         6           
=========================================
  Hits             6         6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nstarman nstarman merged commit b2b17ea into GalacticDynamics:main Dec 10, 2025
19 checks passed
@nstarman nstarman deleted the nox branch December 10, 2025 00:38
meeseeksmachine pushed a commit to meeseeksmachine/is_annotated that referenced this pull request Dec 10, 2025
nstarman added a commit that referenced this pull request Dec 10, 2025
Co-authored-by: Nathaniel Starkman <nstarman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants