From 90eac8e98c029ef7fa377869275ec9af68d171e1 Mon Sep 17 00:00:00 2001 From: Miguel Prada <miguel.prada@tecnalia.com> Date: Wed, 24 Jan 2024 14:39:06 +0100 Subject: [PATCH] Get rid of Python 'safety'-based check --- ci-templates/python.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ci-templates/python.yml b/ci-templates/python.yml index e900b5a..cdb6a09 100644 --- a/ci-templates/python.yml +++ b/ci-templates/python.yml @@ -15,11 +15,9 @@ .security_template: stage: .post before_script: - - ${PYTHON_VERSION} -m pip install bandit safety + - ${PYTHON_VERSION} -m pip install bandit script: - - bandit -r . || RET=1 - - safety check || RET=1 - - exit $RET + - bandit -r . allow_failure: true .py3_template: -- GitLab