Loading python/safety.yml +7 −3 Original line number Diff line number Diff line Loading @@ -5,17 +5,21 @@ include: - local: python/generic.yml variables: SAFETY_DEFAULT_ARGS: --full-report --check-unpinned-requirements SAFETY_EXTRA_ARGS: "" python:safety: extends: - .python:pre - .python:pre-install variables: JOB_PACKAGE: safety JOB_PACKAGE: safety==3.* script: - python3 -m venv .venv - source .venv/bin/activate - pip3 install -q -U pip setuptools - !reference [".python:pre", script] - !reference [".python:pre-install", script] - safety --version - safety check - safety --disable-optional-telemetry check ${SAFETY_DEFAULT_ARGS} ${SAFETY_EXTRA_ARGS} tests/jobs/python.yml +1 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ include: variables: PYTHON_CONTEXT: tests/mockup_projects/python/pep518 PYINSTALLER_TARGET: tests/mockup_projects/python/pep518/mymodule.spec SAFETY_EXTRA_ARGS: --ignore 67599 python:build:setuptools: extends: python:build Loading Loading
python/safety.yml +7 −3 Original line number Diff line number Diff line Loading @@ -5,17 +5,21 @@ include: - local: python/generic.yml variables: SAFETY_DEFAULT_ARGS: --full-report --check-unpinned-requirements SAFETY_EXTRA_ARGS: "" python:safety: extends: - .python:pre - .python:pre-install variables: JOB_PACKAGE: safety JOB_PACKAGE: safety==3.* script: - python3 -m venv .venv - source .venv/bin/activate - pip3 install -q -U pip setuptools - !reference [".python:pre", script] - !reference [".python:pre-install", script] - safety --version - safety check - safety --disable-optional-telemetry check ${SAFETY_DEFAULT_ARGS} ${SAFETY_EXTRA_ARGS}
tests/jobs/python.yml +1 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ include: variables: PYTHON_CONTEXT: tests/mockup_projects/python/pep518 PYINSTALLER_TARGET: tests/mockup_projects/python/pep518/mymodule.spec SAFETY_EXTRA_ARGS: --ignore 67599 python:build:setuptools: extends: python:build Loading