Fix toxfile config errors

Fix invalid path in pytest command causing coverage to fail to report
Fix missing dependency in static tests env
Fix misspelled config argument in static-tests and security envs
This commit is contained in:
Ethan Paul 2021-04-16 22:33:24 -04:00
parent 0b13ff508b
commit d5f13ccea9
No known key found for this signature in database
GPG Key ID: D0E2CBF1245E92BF

View File

@ -13,7 +13,7 @@ locked_deps =
pytest-cov
toml
commands =
pytest --cov {envsitepackagesdir}/tox_poetry_installer --cov-config {toxinidir}/.coveragerc --cov-report term-missing tests/
pytest --cov {toxinidir}/tox_poetry_installer --cov-config {toxinidir}/.coveragerc --cov-report term-missing {toxinidir}/tests/
[testenv:static]
description = Static formatting and quality enforcement
@ -40,10 +40,11 @@ commands =
description = Static formatting and quality enforcement for the tests
basepython = python3.8
platform = linux
ingore_errors = true
ignore_errors = true
require_locked_deps = true
locked_deps =
pylint
pytest
mypy
commands =
pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/tests/
@ -53,7 +54,7 @@ commands =
description = Security checks
basepython = python3.8
platform = linux
ingore_errors = true
ignore_errors = true
require_locked_deps = true
locked_deps =
bandit