Skip to content

Commit

Permalink
fix(dependencies): Ignore safety false-positives
Browse files Browse the repository at this point in the history
Ignore Safety ID 51457 dues to a false-positive reported here: pytest-dev/py#287
  • Loading branch information
rvelaVenafi committed Jun 1, 2023
1 parent d88ea2c commit 40f863f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-entrypoint.sh
Expand Up @@ -7,6 +7,7 @@ set -o pipefail
bandit -r vcert/

# ID 40291 is pip, ignore so we can still test python 2.7
safety check -i 40291
#Ignoring false-positive issue with pytest. ref: https://github.com/pytest-dev/py/issues/287
safety check -i 40291 -i 51457

pytest -v --junit-xml=junit.xml --junit-prefix=`python -V | tr ' ' '_'` --cov=vcert --cov=vcert.parser --cov=vcert.policy --cov-report term --cov-report xml

0 comments on commit 40f863f

Please sign in to comment.