File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868@nox .session (name = "dev" , python = False )
6969def create_dev_environment (session : nox .Session ) -> None :
7070 """Create a development environment."""
71- session .run_install ("uv" , "sync" )
71+ session .run_install ("uv" , "sync" , "--frozen" )
7272
7373
7474@nox .session (name = "test" , python = PYTHON_VERSION )
@@ -131,7 +131,7 @@ def build_artifacts(session: nox.Session) -> None:
131131@nox .session (name = "lock" , python = False )
132132def validate_lock_file (session : nox .Session ) -> None :
133133 """Ensure the uv.lock file exists and is aligned with dependencies."""
134- session .run ("uv" , "lock" )
134+ session .run ("uv" , "lock" , "--check" )
135135
136136
137137@nox .session (name = "clean" , python = False )
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ homepage = "https://github.com/[ORG NAME]/[REPO NAME]"
4242
4343[tool .black ]
4444line-length = 100
45+ target-version = [" py311" ]
4546
4647[tool .mypy ]
4748check_untyped_defs = true
You can’t perform that action at this time.
0 commit comments