Skip to content

Commit c875738

Browse files
authored
remove redundant installs
1 parent a6b72e6 commit c875738

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

noxfile.py

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,18 @@ def mypy(session: Session) -> None:
212212
@session(python=python_versions)
213213
def tests(session: Session) -> None:
214214
"""Run the test suite."""
215-
session_install_uv(session, install_project=True, install_dev=True)
215+
session_install_uv(session)
216216
session_install_uv_package(
217-
session, ["coverage", "pytest", "pygments", "pytest-dependency", "s3fs"]
218-
)
219-
session.run(
220-
"uv",
221-
"pip",
222-
"install",
223-
"coverage[toml]",
224-
"pytest",
225-
"pygments",
226-
"pytest-dependency",
227-
"s3fs",
228-
external=True,
217+
session,
218+
[
219+
"coverage[toml]",
220+
"pytest",
221+
"pygments",
222+
"pytest-dependency",
223+
"s3fs",
224+
],
229225
)
226+
230227
try:
231228
session.run("coverage", "run", "--parallel", "-m", "pytest", *session.posargs)
232229
finally:

0 commit comments

Comments
 (0)