Loading python/bandit.yml +1 −0 Original line number Diff line number Diff line Loading @@ -18,3 +18,4 @@ python:bandit: 's/\,/\,\.\//g')" - bandit --verbose --recursive . --exclude "${BANDIT_EXCLUDE_PATHS}" --skip "${BANDIT_SKIP_CHECK}" ${BANDIT_EXTRA_ARGS} needs: [] python/black.yml +1 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,4 @@ python:black: script: - !reference [".python:pre", script] - black --check --diff --color --exclude "${PYTHON_EXCLUDE_REGEX}" . needs: [] python/flake8.yml +1 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,4 @@ python:flake8: - !reference [".python:pre", script] - pip3 install . || true # installs package only if available - flake8 ${DEFAULT_ARGS} ${EXTRA_ARGS} . needs: [] python/flawfinder.yml +1 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,4 @@ python:flawfinder: - pip3 install flawfinder - flawfinder ${DEFAULT_ARGS} ${EXTRA_ARGS} --minlevel ${MIN_LEVEL} --error-level=${ERROR_LEVEL} . needs: [] python/generic.yml +7 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,10 @@ image: script: - pip3 install ${PACKAGE} - | MESSAGE="[*] Will run this job in path '${PYTHON_CONTEXT:=.}' on package '${PYTHON_PACKAGE}'" MESSAGE="[*] Will run this job in path '${PYTHON_CONTEXT:-.}'" if [ "${PYTHON_PACKAGE}" != "" ]; then MESSAGE="${MESSAGE} on package '${PYTHON_PACKAGE}'" fi if [ "${PYTHON_EXCLUDE_PATHS}" != "" ]; then MESSAGE="${MESSAGE} and excluding paths '${PYTHON_EXCLUDE_PATHS}'" fi Loading @@ -27,4 +30,6 @@ image: fi echo "${MESSAGE}..." - cd ${PYTHON_CONTEXT:-.} needs: ["python:package-discovery"] .python:fast: needs: [] Loading
python/bandit.yml +1 −0 Original line number Diff line number Diff line Loading @@ -18,3 +18,4 @@ python:bandit: 's/\,/\,\.\//g')" - bandit --verbose --recursive . --exclude "${BANDIT_EXCLUDE_PATHS}" --skip "${BANDIT_SKIP_CHECK}" ${BANDIT_EXTRA_ARGS} needs: []
python/black.yml +1 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,4 @@ python:black: script: - !reference [".python:pre", script] - black --check --diff --color --exclude "${PYTHON_EXCLUDE_REGEX}" . needs: []
python/flake8.yml +1 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,4 @@ python:flake8: - !reference [".python:pre", script] - pip3 install . || true # installs package only if available - flake8 ${DEFAULT_ARGS} ${EXTRA_ARGS} . needs: []
python/flawfinder.yml +1 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,4 @@ python:flawfinder: - pip3 install flawfinder - flawfinder ${DEFAULT_ARGS} ${EXTRA_ARGS} --minlevel ${MIN_LEVEL} --error-level=${ERROR_LEVEL} . needs: []
python/generic.yml +7 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,10 @@ image: script: - pip3 install ${PACKAGE} - | MESSAGE="[*] Will run this job in path '${PYTHON_CONTEXT:=.}' on package '${PYTHON_PACKAGE}'" MESSAGE="[*] Will run this job in path '${PYTHON_CONTEXT:-.}'" if [ "${PYTHON_PACKAGE}" != "" ]; then MESSAGE="${MESSAGE} on package '${PYTHON_PACKAGE}'" fi if [ "${PYTHON_EXCLUDE_PATHS}" != "" ]; then MESSAGE="${MESSAGE} and excluding paths '${PYTHON_EXCLUDE_PATHS}'" fi Loading @@ -27,4 +30,6 @@ image: fi echo "${MESSAGE}..." - cd ${PYTHON_CONTEXT:-.} needs: ["python:package-discovery"] .python:fast: needs: []