Skip to content

Conversation

@nstarman
Copy link
Contributor

No description provided.

@nstarman nstarman added this to the 1.5.x milestone Dec 10, 2025
Copilot AI review requested due to automatic review settings December 10, 2025 05:02
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 updates the build and development tooling infrastructure, primarily migrating nox sessions to use nox-uv for improved dependency management. It also adds mypy for type checking and reorganizes the project configuration.

Key changes:

  • Integrates nox-uv for better UV package manager integration in nox sessions
  • Adds mypy to the linting pipeline for static type checking
  • Reorganizes pyproject.toml tool configurations for better readability
  • Updates CI workflows to use the new nox-based approach

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
uv.lock Adds new dependencies: build, mypy, nox-uv, librt, mypy-extensions, pathspec, and pyproject-hooks
pyproject.toml Adds build and nox dependency groups, includes mypy in lint group, reorganizes tool configuration sections for better logical grouping
noxfile.py Refactors to use nox-uv with @session decorator, replaces direct uv run commands with session methods, adds mypy session
src/diffraxtra/_src/diffeq_abc.py Removes strict=True parameter from eqx.Module (likely for compatibility)
.pre-commit-config.yaml Updates codespell to read configuration from pyproject.toml instead of inline args
.github/workflows/ci.yml Updates to use nox sessions instead of direct uv/pytest commands, renames job from checks to tests, adds status check job
.github/workflows/cd.yml Adds persist-credentials: false for security hardening

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.
⚠️ Please upload report for BASE (main@7295ac7). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage        ?   97.82%           
=======================================
  Files           ?        5           
  Lines           ?      184           
  Branches        ?        0           
=======================================
  Hits            ?      180           
  Misses          ?        4           
  Partials        ?        0           

☔ 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.

Signed-off-by: nstarman <nstarman@users.noreply.github.com>
@nstarman nstarman merged commit b088551 into GalacticDynamics:main Dec 10, 2025
22 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/diffraxtra that referenced this pull request Dec 10, 2025
@nstarman nstarman deleted the nox branch December 10, 2025 05:31
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.

1 participant