Skip to content

Commit 69bdef9

Browse files
committed
linting
1 parent 2dceb27 commit 69bdef9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# stop on first error
66
set -eu -o errtrace -o pipefail
77

8+
cur=$(cd "$(dirname "${0}")" && pwd)
9+
in_cicd="${GITHUB_ACTIONS:-}"
10+
811
MULTI_PYTHON="" # set to test multi python envs
912
PYTHON_VERSIONS=("3.6" "3.7" "3.8" "3.9" "3.10" "3.11" "3.12" "3.13" "3.14")
1013

@@ -37,9 +40,6 @@ test()
3740
fi
3841
}
3942

40-
cur=$(cd "$(dirname "${0}")" && pwd)
41-
in_cicd="${GITHUB_ACTIONS:-}"
42-
4343
if [ -n "${in_cicd}" ]; then
4444
# patch TERM var in ci/cd
4545
if [ -z "${TERM}" ]; then
@@ -71,6 +71,7 @@ else
7171
pyenv install -s "${PY}"
7272
pyenv shell "${PY}"
7373
python -m venv ".venv"
74+
# shellcheck disable=SC1091
7475
source ".venv/bin/activate"
7576
pip install pip --upgrade
7677
pip install -r requirements.txt
@@ -80,6 +81,7 @@ else
8081
done
8182
else
8283
python3 -m venv ".venv"
84+
# shellcheck disable=SC1091
8385
source ".venv/bin/activate"
8486
pip install pip --upgrade
8587
pip install -r requirements.txt

0 commit comments

Comments
 (0)