Skip to content

Commit 4ded712

Browse files
refactor: remove explicit pytest package installation as uvx handles it
1 parent fd392f8 commit 4ded712

File tree

1 file changed

+0
-3
lines changed
  • repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}

1 file changed

+0
-3
lines changed

repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/noxfile.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ def install_with_uv(session: nox.Session, extras: list[str] | None = None) -> No
4444
session.install("ruff") # Explicitly install ruff
4545
if extras:
4646
session.run("uv", "sync", *(f"--extra={extra}" for extra in extras))
47-
# Install pytest and related packages for test sessions
48-
if any(extra == "dev" for extra in extras):
49-
session.install("pytest", "pytest-cov", "pytest-mock")
5047
else:
5148
session.run("uv", "sync")
5249

0 commit comments

Comments
 (0)