Skip to content

Commit 3d0f341

Browse files
committed
build: add a uv lock step to the setup-venv nox session
1 parent 973bd8d commit 3d0f341

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

{{cookiecutter.project_name}}/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def setup_git(session: Session) -> None:
6464

6565
@nox.session(python=None, name="setup-venv")
6666
def setup_venv(session: Session) -> None:
67+
session.run("uv", "lock", external=True)
6768
session.run("uv", "venv", ".venv", external=True)
6869
session.run("uv", "python", "install", PYTHON_VERSIONS[0], external=True)
6970
session.run("uv", "python", "pin", PYTHON_VERSIONS[0], external=True)

0 commit comments

Comments
 (0)