Commit 07f48efd authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

test

parent be2fb61a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,3 +18,4 @@ python:bandit:
      's/\,/\,\.\//g')"
    - bandit --verbose --recursive . --exclude "${BANDIT_EXCLUDE_PATHS}" --skip
      "${BANDIT_SKIP_CHECK}" ${BANDIT_EXTRA_ARGS}
  needs: []
+1 −0
Original line number Diff line number Diff line
@@ -11,3 +11,4 @@ python:black:
  script:
    - !reference [".python:pre", script]
    - black --check --diff --color --exclude "${PYTHON_EXCLUDE_REGEX}" .
  needs: []
+1 −0
Original line number Diff line number Diff line
@@ -14,3 +14,4 @@ python:flake8:
    - !reference [".python:pre", script]
    - pip3 install . || true # installs package only if available
    - flake8 ${DEFAULT_ARGS} ${EXTRA_ARGS} .
  needs: []
+1 −0
Original line number Diff line number Diff line
@@ -14,3 +14,4 @@ python:flawfinder:
    - pip3 install flawfinder
    - flawfinder ${DEFAULT_ARGS} ${EXTRA_ARGS} --minlevel ${MIN_LEVEL}
      --error-level=${ERROR_LEVEL} .
  needs: []
+7 −2
Original line number Diff line number Diff line
@@ -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
@@ -27,4 +30,6 @@ image:
      fi
      echo "${MESSAGE}..."
    - cd ${PYTHON_CONTEXT:-.}
  needs: ["python:package-discovery"]

.python:fast:
  needs: []
Loading