From 376a266cef2a494fc07843ca2f3d81562585aa11 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 17 Jan 2024 10:52:07 -0500 Subject: [PATCH] Special-case installation of vectors in local nox (#10190) This saves roughly a second, but makes getting feedback much more responsive. --- noxfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index eb5e11cec..f1117d7fe 100644 --- a/noxfile.py +++ b/noxfile.py @@ -257,9 +257,11 @@ def local(session): *pyproject_data["project"]["optional-dependencies"]["test"], *pyproject_data["project"]["optional-dependencies"]["ssh"], *pyproject_data["project"]["optional-dependencies"]["nox"], + "flit", silent=True, ) - install(session, "-e", "vectors/", silent=True) + with session.cd("vectors/"): + session.run("flit", "install", "-s", silent=True) session.run("ruff", "format", ".") session.run("ruff", ".")