From b8f39858aa3db8d379a7089bdff7f21cc8c73ab1 Mon Sep 17 00:00:00 2001 From: deadc0de6 <8973919+deadc0de6@users.noreply.github.com.> Date: Tue, 30 Dec 2025 23:10:30 +0100 Subject: [PATCH] linting --- tests.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests.sh b/tests.sh index 3243540..279c453 100755 --- a/tests.sh +++ b/tests.sh @@ -5,6 +5,9 @@ # stop on first error set -eu -o errtrace -o pipefail +cur=$(cd "$(dirname "${0}")" && pwd) +in_cicd="${GITHUB_ACTIONS:-}" + MULTI_PYTHON="" # set to test multi python envs PYTHON_VERSIONS=("3.6" "3.7" "3.8" "3.9" "3.10" "3.11" "3.12" "3.13" "3.14") @@ -37,9 +40,6 @@ test() fi } -cur=$(cd "$(dirname "${0}")" && pwd) -in_cicd="${GITHUB_ACTIONS:-}" - if [ -n "${in_cicd}" ]; then # patch TERM var in ci/cd if [ -z "${TERM}" ]; then @@ -71,6 +71,7 @@ else pyenv install -s "${PY}" pyenv shell "${PY}" python -m venv ".venv" + # shellcheck disable=SC1091 source ".venv/bin/activate" pip install pip --upgrade pip install -r requirements.txt @@ -80,6 +81,7 @@ else done else python3 -m venv ".venv" + # shellcheck disable=SC1091 source ".venv/bin/activate" pip install pip --upgrade pip install -r requirements.txt