Skip to content

💚 ci(prek): replace pre-commit with prek - #22

Merged
nstarman merged 1 commit into
GalacticDynamics:mainfrom
nstarman:prek
Jul 13, 2026
Merged

💚 ci(prek): replace pre-commit with prek#22
nstarman merged 1 commit into
GalacticDynamics:mainfrom
nstarman:prek

Conversation

@nstarman

Copy link
Copy Markdown
Contributor

No description provided.

@nstarman nstarman added this to the v0.3.0 milestone Jul 12, 2026
Copilot AI review requested due to automatic review settings July 12, 2026 20:40
@github-actions github-actions Bot added 🔧 Add / update configuration Add or update configuration files. 💚 Fix CI build Fix CI Build. labels Jul 12, 2026
@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@cb486cc). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage        ?   95.55%           
=======================================
  Files           ?        9           
  Lines           ?      225           
  Branches        ?        0           
=======================================
  Hits            ?      215           
  Misses          ?       10           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request migrates the repo’s hook runner from pre-commit to prek, updating the Python dependency groups, nox lint session, and contributor documentation accordingly, with corresponding lockfile updates.

Changes:

  • Replace pre-commit with prek in pyproject.toml dependency groups and uv.lock.
  • Update the nox “precommit” session to run prek.
  • Update contributor setup instructions and simplify .pre-commit-config.yaml CI metadata; adjust pytest testpaths.

Reviewed changes

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

Show a summary per file
File Description
uv.lock Swaps pre-commit for prek and prunes now-unused transitive deps.
pyproject.toml Updates lint dependencies to prek and tweaks pytest testpaths.
noxfile.py Runs prek during the “precommit” nox session.
.pre-commit-config.yaml Removes the ci: configuration block.
.github/CONTRIBUTING.md Updates developer guidance from pre-commit to prek.

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

Comment thread pyproject.toml Outdated
Comment thread noxfile.py
Comment thread .github/CONTRIBUTING.md
Comment thread .github/CONTRIBUTING.md
@nstarman nstarman modified the milestones: v0.3.0, v0.4.0 Jul 13, 2026
@nstarman
nstarman merged commit db2eb14 into GalacticDynamics:main Jul 13, 2026
20 checks passed
@nstarman
nstarman deleted the prek branch July 13, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔧 Add / update configuration Add or update configuration files. 💚 Fix CI build Fix CI Build.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants