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