You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ mkdir pre-commit-test
❯ cd pre-commit-test
❯ git init
Initialized empty Git repository in /Users/mz/workspace/pre-commit-test/.git/
❯ echo "anyio" > "requirements.in"
❯ git add requirements.in
❯ pre-commit try-repo https://github.com/astral-sh/uv-pre-commit
[INFO] Initializing environment for https://github.com/astral-sh/uv-pre-commit.
===============================================================================
Using config:
===============================================================================
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 8830f06b90d5d856ee2d058a33ded4b6820ab925
hooks:
- id: pip-compile
===============================================================================
[INFO] Installing environment for https://github.com/astral-sh/uv-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
pip-compile..............................................................Failed
- hook id: pip-compile
- exit code: 2
error: the following required arguments were not provided:
<SRC_FILE>...
Usage: uv pip compile <SRC_FILE>...
For more information, try '--help'.
The text was updated successfully, but these errors were encountered:
Default args would have to be provided. I guess it would make sense to have to at least handle the most common use case. And then require users to manually change it for their use case.
The text was updated successfully, but these errors were encountered: