Update with latest practices
This commit is contained in:
10
tox.ini
10
tox.ini
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = ansible, python, security
|
||||
envlist = ansible, security
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
@@ -36,7 +36,9 @@ locked_deps =
|
||||
poetry
|
||||
safety
|
||||
commands =
|
||||
poetry export --format requirements.txt --without-hashes --dev --output {envtmpdir}/req.txt
|
||||
safety check --json --file {envtmpdir}/req.txt \
|
||||
poetry export --format requirements.txt --without-hashes --with dev --output {envtmpdir}/req.txt
|
||||
safety check --output text --file {envtmpdir}/req.txt \
|
||||
# Ignore unfixed CVE-2021-3532 from ansible \
|
||||
--ignore 42923
|
||||
--ignore 42923 \
|
||||
# https://github.com/pytest-dev/py/issues/287#issuecomment-1283567565
|
||||
--ignore 51457
|
||||
|
||||
Reference in New Issue
Block a user