From d5f13ccea9b942915848f0d05621e53a66e28c5c Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Fri, 16 Apr 2021 22:33:24 -0400 Subject: [PATCH] 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 --- tox.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 9df0fce..822cc05 100644 --- a/tox.ini +++ b/tox.ini @@ -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