From bb28549247a33418374c9f40a513cf59835e915f Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 27 Oct 2023 10:44:41 -0400 Subject: [PATCH] Avoid building ourselves in the flake job (#9789) --- noxfile.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index f53d02687..98ecdb619 100644 --- a/noxfile.py +++ b/noxfile.py @@ -152,7 +152,21 @@ def docs_linkcheck(session: nox.Session) -> None: @nox.session def flake(session: nox.Session) -> None: - install(session, ".[pep8test,test,ssh,nox]") + # Just install the dependencies needed for these tests - basically + # `pip install .[pep8test,test,ssh,nox]`, but without installing `.` + # TODO: Ideally there'd be a pip flag to install just our dependencies, + # but not install us. + install( + session, + "ruff", + "check-sdist", + "mypy", + "bcrypt", + "click", + "pytest", + "nox", + ) + install(session, "-e", "vectors/") session.run("ruff", ".") session.run("ruff", "format", "--check", ".")