Update with latest practices

This commit is contained in:
2023-03-19 01:35:30 -04:00
parent 0163d5ab18
commit 614fca41c0
3 changed files with 722 additions and 344 deletions

10
tox.ini
View File

@@ -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