File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2- set -eu
2+ set -feu
33
44for venv in venv .venv
55do
@@ -49,11 +49,14 @@ python3 -m flake8 --show-source || FAILED=$(( 16 | FAILED ))
4949PYTHON_FOLDERS=" an_website scripts tests"
5050
5151echo Pylint:
52- DISABLE_PYSTON=1 python3 -m pylint -d all -e fixme --exit-zero --score=no --persistent=no $PYTHON_FOLDERS
53- DISABLE_PYSTON=1 python3 -m pylint -d fixme $PYTHON_FOLDERS || FAILED=$(( 32 | FAILED ))
52+ # shellcheck disable=SC2086
53+ DISABLE_PYSTON=1 python3 -m pylint -d all -e fixme --exit-zero --score=no --persistent=no ${PYTHON_FOLDERS}
54+ # shellcheck disable=SC2086
55+ DISABLE_PYSTON=1 python3 -m pylint -d fixme ${PYTHON_FOLDERS} || FAILED=$(( 32 | FAILED ))
5456
5557echo Bandit:
56- python3 -m bandit -qrc pyproject.toml $PYTHON_FOLDERS || FAILED=$(( 64 | FAILED ))
58+ # shellcheck disable=SC2086
59+ python3 -m bandit -qrc pyproject.toml ${PYTHON_FOLDERS} || FAILED=$(( 64 | FAILED ))
5760
5861if [ -n " ${1:- } " ]; then
5962 pytest=" python3 -m pytest --durations=0 --durations-min=0.5"
You can’t perform that action at this time.
0 commit comments