Skip to content

Commit 1663af5

Browse files
committed
add a hook for templating args
1 parent 14995fe commit 1663af5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/uv/private/pip_compile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def _run() -> None:
1818

1919
# Let `uv` know that it was spawned by this Python interpreter
2020
env["UV_INTERNAL__PARENT_INTERPRETER"] = sys.executable
21-
args = sys.argv[1:]
21+
args = []
22+
args += sys.argv[1:]
2223

2324
src_out = args[1] if args[0] == "--src-out" else None
2425
if src_out:

0 commit comments

Comments
 (0)