Skip to content

Commit 40f863f

Browse files
committed
fix(dependencies): Ignore safety false-positives
Ignore Safety ID 51457 dues to a false-positive reported here: pytest-dev/py#287
1 parent d88ea2c commit 40f863f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set -o pipefail
77
bandit -r vcert/
88

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

1213
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 commit comments

Comments
 (0)