Skip to content

Conversation

@noirbizarre
Copy link
Collaborator

@noirbizarre noirbizarre commented Oct 4, 2025

This PR adds support for syncing from uv.lock using a pre-commit hook from #55 (included in this PR until #55 is merged)

It also exposes a sync-pre-commit-uv command to manually sync.

A generic ShellPrinter has been added as contrary to pdm or poetry, a standalone hook does not benefit from a shell/ui framework.
The printer preserves a tabular/columnar appraoch just in case a framework supporting it is used in some future (like rich).

Fix #42

@codecov
Copy link

codecov bot commented Oct 4, 2025

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   96.50%   97.12%   +0.62%     
==========================================
  Files           9       12       +3     
  Lines         572      696     +124     
  Branches       55       63       +8     
==========================================
+ Hits          552      676     +124     
  Misses         18       18              
  Partials        2        2              
Flag Coverage Δ
unittests 96.98% <100.00%> (+0.65%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@noirbizarre noirbizarre force-pushed the feat/uv branch 5 times, most recently from 8449b80 to 9e9261e Compare October 4, 2025 23:54
@GabDug
Copy link
Owner

GabDug commented Oct 11, 2025

Hey! Sorry @noirbizarre I haven't much time to review/test but I'll trust you on this one. Thanks for the new feature & sorry for the delay!.

@GabDug GabDug merged commit 0fefccb into GabDug:main Oct 11, 2025
12 checks passed
@noirbizarre
Copy link
Collaborator Author

Thanks for the merge and don't worry, you merge it when you have time!!

@noirbizarre noirbizarre deleted the feat/uv branch October 11, 2025 13:42
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.

Compatibility with uv

2 participants