Skip to content

Commit

Permalink
dependencies: add ignores on safety check (#721)
Browse files Browse the repository at this point in the history
Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
  • Loading branch information
Garfield-fr authored Dec 6, 2021
1 parent 20d3913 commit 25d9d58
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {
Expand Down

0 comments on commit 25d9d58

Please sign in to comment.