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 pytest-cov
toml toml
commands = 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] [testenv:static]
description = Static formatting and quality enforcement description = Static formatting and quality enforcement
@ -40,10 +40,11 @@ commands =
description = Static formatting and quality enforcement for the tests description = Static formatting and quality enforcement for the tests
basepython = python3.8 basepython = python3.8
platform = linux platform = linux
ingore_errors = true ignore_errors = true
require_locked_deps = true require_locked_deps = true
locked_deps = locked_deps =
pylint pylint
pytest
mypy mypy
commands = commands =
pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/tests/ pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/tests/
@ -53,7 +54,7 @@ commands =
description = Security checks description = Security checks
basepython = python3.8 basepython = python3.8
platform = linux platform = linux
ingore_errors = true ignore_errors = true
require_locked_deps = true require_locked_deps = true
locked_deps = locked_deps =
bandit bandit