From 1755f60fbefa157dce5c4033b99614c795744bd5 Mon Sep 17 00:00:00 2001 From: Ian Preston <17241371+ianepreston@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:06:49 -0600 Subject: [PATCH] fix makefile Have to reference venv for some reason from make, doesn't have to happen in interactive shells --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index f761cb8..9c46f4a 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ .PHONY: docs test: - nix develop --impure . -c poetry install && pre-commit run --all-files --show-diff-on-failure - nix develop --impure . -c poetry install && ruff check . - nix develop --impure .#python39 -c poetry install && coverage run -m pytest - nix develop --impure .#python310 -c poetry install && coverage run -m pytest - nix develop --impure .#python311 -c poetry install && coverage run -m pytest - nix develop --impure .#python312 -c poetry install && coverage run -m pytest - nix develop --impure . -c poetry install && coverage report + nix develop --impure . -c ./.venv/bin/pre-commit run --all-files --show-diff-on-failure + nix develop --impure . -c ./.venv/bin/ruff check . + nix develop --impure .#python39 -c ./.venv/bin/coverage run -m pytest + nix develop --impure .#python310 -c ./.venv/bin/coverage run -m pytest + nix develop --impure .#python311 -c ./.venv/bin/coverage run -m pytest + nix develop --impure .#python312 -c ./.venv/bin/coverage run -m pytest + nix develop --impure . -c ./.venv/bin/coverage report safety: - nix develop --impure . -c poetry install && safety check --file=poetry.lock --full-report + nix develop --impure . -c ./.venv/bin/safety check --file=poetry.lock --full-report docs: - nix develop --impure . -c poetry install && sphinx-build docs/source docs/_build + nix develop --impure . -c ./.venv/bin/sphinx-build docs/source docs/_build