File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 20
20
import tomli as tomllib # type: ignore[import-not-found,no-redef]
21
21
22
22
nox .options .reuse_existing_virtualenvs = True
23
+ nox .options .default_venv_backend = "uv|virtualenv"
23
24
24
25
25
26
def install (
@@ -76,7 +77,10 @@ def tests(session: nox.Session) -> None:
76
77
else :
77
78
install (session , f".[{ extras } ]" )
78
79
79
- session .run ("pip" , "list" )
80
+ if session .venv_backend == "uv" :
81
+ session .run ("uv" , "pip" , "list" )
82
+ else :
83
+ session .run ("pip" , "list" )
80
84
81
85
if session .name != "tests-nocoverage" :
82
86
cov_args = [
@@ -267,7 +271,7 @@ def rust(session: nox.Session) -> None:
267
271
process_rust_coverage (session , rust_tests , prof_location )
268
272
269
273
270
- @nox .session ( venv_backend = "uv|venv" )
274
+ @nox .session
271
275
def local (session ):
272
276
pyproject_data = load_pyproject_toml ()
273
277
install (session , "-e" , "./vectors" , verbose = False )
You can’t perform that action at this time.
0 commit comments