Skip to content

Commit 8ede17d

Browse files
committed
fix: remove non-existent kwarg from uv sync commands in noxfile.py
1 parent dac1cc7 commit 8ede17d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def uv_in_demo(session: Session) -> None:
109109
def 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", "--clean", "--groups", "dev", "lint", external=True)
112+
session.run("uv", "sync", "--locked", "--groups", "dev", "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):
123123
def 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", "--clean", "--groups", "dev", "docs", external=True)
126+
session.run("uv", "sync", "--locked", "--groups", "dev", "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", "--clean", "--groups", "dev", "test", external=True)
156+
session.run("uv", "sync", "--locked", "--groups", "dev", "test", external=True)
157157

158158
# Create a temporary directory for the generated project
159159
temp_dir: Path = Path(tempfile.mkdtemp())

0 commit comments

Comments
 (0)