From 64ce368b19e217500475db065676e0df94aac9db Mon Sep 17 00:00:00 2001 From: Andrew Pennebaker Date: Thu, 3 Oct 2024 21:50:39 -0500 Subject: [PATCH] venv --- build | 3 ++- install | 5 +++-- requirements-dev.txt => requirements.txt | 0 3 files changed, 5 insertions(+), 3 deletions(-) rename requirements-dev.txt => requirements.txt (100%) diff --git a/build b/build index 02be6a5..55fa07f 100755 --- a/build +++ b/build @@ -48,7 +48,8 @@ slick() { } snyk() { - command snyk test + command snyk test --all-projects --exclude=requirements.txt + command snyk test --command=.venv/bin/python3 } yamllint() { diff --git a/install b/install index f95643c..f4fbe07 100755 --- a/install +++ b/install @@ -7,5 +7,6 @@ go install github.com/mcandre/stank/...@v0.0.27 go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0 go mod tidy -pip3 install --upgrade pip setuptools -pip3 install -r requirements-dev.txt +python3 -m venv .venv +.venv/bin/python3 -m pip install --upgrade pip setuptools +.venv/bin/pip3 install -r requirements.txt diff --git a/requirements-dev.txt b/requirements.txt similarity index 100% rename from requirements-dev.txt rename to requirements.txt