diff --git a/tox.ini b/tox.ini index 8282343d..d1929412 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ commands = # Bandit is not needed on diffcov, and seems to be incompatible with 310 # So, run only if "not (310 or diffcov)" ==> "(not 310) and (not diffcov)" !py310-!diffcov: bandit -c bandit.yml -r aiosmtpd - nocov: pytest --verbose -p no:cov --tb=short {posargs} + nocov: pytest --verbose --no-cov --tb=short {posargs} cov: pytest --cov --cov-report=xml --cov-report=html --cov-report=term --tb=short {posargs} diffcov: diff-cover _dump/coverage-{env:INTERP}.xml --html-report htmlcov/diffcov-{env:INTERP}.html diffcov: diff-cover _dump/coverage-{env:INTERP}.xml --fail-under=100 @@ -31,7 +31,7 @@ deps = !nocov: coverage>=7.0.1 !nocov: coverage[toml] !nocov: coverage-conditional-plugin - !nocov: pytest-cov + pytest-cov diffcov: diff_cover setenv = cov: COVERAGE_FILE={toxinidir}/_dump/.coverage