@@ -109,7 +109,7 @@ def uv_in_demo(session: Session) -> None:
109109def lint (session : Session ):
110110 """Lint the template's own Python files and configurations."""
111111 session .log ("Installing linting dependencies for the template source..." )
112- session .run ("uv" , "sync" , "--locked" , "--groups " , "dev" , "lint" , external = True )
112+ session .run ("uv" , "sync" , "--locked" , "--group " , "dev" , "--group " , "lint" , external = True )
113113
114114 locations : list [str ] = [str (loc ) for loc in TEMPLATE_PYTHON_LOCATIONS + TEMPLATE_CONFIG_AND_DOCS ]
115115 session .log (f"Running Ruff formatter check on template files with py{ session .python } ." )
@@ -123,7 +123,7 @@ def lint(session: Session):
123123def docs (session : Session ):
124124 """Build the template documentation website."""
125125 session .log ("Installing documentation dependencies for the template docs..." )
126- session .run ("uv" , "sync" , "--locked" , "--groups " , "dev" , "docs" , external = True )
126+ session .run ("uv" , "sync" , "--locked" , "--group " , "dev" , "--group " , "docs" , external = True )
127127
128128 session .log (f"Building template documentation with py{ session .python } ." )
129129 # Set path to allow Sphinx to import from template root if needed (e.g., __version__.py)
@@ -153,7 +153,7 @@ def test(session: Session) -> None:
153153 session .log ("Running template tests..." )
154154 session .log ("Installing template testing dependencies..." )
155155 # Sync deps from template's own pyproject.toml, e.g., 'dev' group that includes 'pytest', 'cookiecutter'
156- session .run ("uv" , "sync" , "--locked" , "--groups " , "dev" , "test" , external = True )
156+ session .run ("uv" , "sync" , "--locked" , "--group " , "dev" , "--group " , "test" , external = True )
157157
158158 # Create a temporary directory for the generated project
159159 temp_dir : Path = Path (tempfile .mkdtemp ())
0 commit comments