mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 05:26:53 +00:00
require coverage 6.x and simplify config
This commit is contained in:
parent
382cc91040
commit
ef3585b3a0
2 changed files with 1 additions and 9 deletions
3
tox.ini
3
tox.ini
|
|
@ -5,10 +5,9 @@ envlist = py36,py37,py38,flake8,linters,docs
|
|||
[testenv]
|
||||
deps =
|
||||
pytest!=3.0.5,!=5.2.3
|
||||
coverage
|
||||
coverage>=6
|
||||
commands =
|
||||
coverage run -m pytest {posargs}
|
||||
coverage combine
|
||||
coverage report
|
||||
# ensure 100% coverage of tests
|
||||
coverage report --fail-under 100 --include tests/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue