From e498011eb17f67054cbcef0596ab15a93001c943 Mon Sep 17 00:00:00 2001 From: Bertrand Zuchuat Date: Wed, 1 Dec 2021 16:37:18 +0100 Subject: [PATCH] dependencies: add ignores on safety check Co-Authored-by: Bertrand Zuchuat --- scripts/test | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/scripts/test b/scripts/test index ce6b2099..0e0c416c 100755 --- a/scripts/test +++ b/scripts/test @@ -27,8 +27,18 @@ if [[ -z "${VIRTUAL_ENV}" ]]; then exit 1 fi -# Ignore 40459 until the next release of flask-caching will be available. -safety check -i 42194 -i 40459 -i 42050 -i 42852 -i 42497 -i 42498&& \ +# TODO: Exceptions on safety check +# +============================+===========+==========================+==========+ +# | package | installed | affected | ID | +# +============================+===========+==========================+==========+ +# | sqlalchemy-utils | 0.35.0 | >=0.27.0 | 42194 | +# | flask-caching | 1.10.1 | <=1.10.1 | 40459 | +# | werkzeug | 1.0.1 | <2.0.2 | 42050 | +# | wtforms | 2.3.3 | <3.0.0a1 | 42852 | +# | kombu | 5.1.0 | <5.2.1 | 42497 | +# | celery | 5.1.2 | <5.2.0 | 42498 | +# +============================+===========+==========================+==========+ +safety check -i 42194 -i 40459 -i 42050 -i 42852 -i 42497 -i 42498 && \ pydocstyle sonar tests docs && \ isort --check-only --diff "${SCRIPT_PATH}/.." && \ autoflake -c -r --remove-all-unused-imports --ignore-init-module-imports . &> /dev/null || {