Skip to content

feat: add uv-update-requirements hook - #72

Open
DSCmatter wants to merge 1 commit into
astral-sh:mainfrom
DSCmatter:feat/uv-update-req-hook
Open

feat: add uv-update-requirements hook#72
DSCmatter wants to merge 1 commit into
astral-sh:mainfrom
DSCmatter:feat/uv-update-req-hook

Conversation

@DSCmatter

Copy link
Copy Markdown

Adds a new uv-update-requirements hook that runs uv export and automatically stages the output file via git add, preventing pre-commit from aborting the commit with a 'files were modified by this hook' error.

Closes #48

Adds a new uv-update-requirements hook that runs uv export and
automatically stages the output file via git add, preventing
pre-commit from aborting the commit with a 'files were modified by
this hook' error.

Closes astral-sh#48
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.

New hook? uv-update-requirements

1 participant