-
Notifications
You must be signed in to change notification settings - Fork 995
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(precommit): add uv-sync hook #278
base: main
Are you sure you want to change the base?
Conversation
@@ -48,6 +48,7 @@ repos: | |||
hooks: | |||
- id: uv-export | |||
args: ["--frozen", "--no-hashes", "--no-emit-project"] | |||
- id: uv-sync |
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.
while you are at it, can you update the args above to add --output-file=requirements.txt
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.
Done 👍
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.
Thanks. Could you rebase and resubmit the change? Some of the files you changed ended up moving as part of #279
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.
Duplicado de #
Signed-off-by: Tomas Coufal <[email protected]>
Signed-off-by: Tomas Coufal <[email protected]>
Signed-off-by: Tomas Coufal <[email protected]>
a426944
to
ebf0429
Compare
Signed-off-by: Tomas Coufal [email protected]
When standing up a dev setup, I've discovered a mismatch between
pyproject.toml
anduv.lock
- call touv sync --extra dev
results in diff onuv.lock
.It seems like during the last version bump, the
uv.lock
was not regenerated. This discrepancy can be mitigated by adding auv-sync
hook to the precommit (fcf8893). The same hook is already present in thellama-stack
repo so I guess it would be worth adding it here as well.After adding the hook, I've just ran
precommit run -a
and discovered some discrepancies here and there, so I've fixed those in this PR as well (let me know if I should move them to a separate PR).This repo is also missing a precommit CI workflow, should I add that as well? Or would you prefer a separate PR?