mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 08:24:46 +00:00
instrument coverage on tests and require 100% coverage there
This commit is contained in:
parent
d097d5103d
commit
93a17a806d
9 changed files with 16 additions and 16 deletions
2
tox.ini
2
tox.ini
|
|
@ -11,6 +11,8 @@ commands =
|
|||
coverage run -m pytest {posargs}
|
||||
coverage combine
|
||||
coverage report
|
||||
# ensure 100% coverage of tests
|
||||
coverage report --fail-under 100 --include tests/*
|
||||
|
||||
[testenv:venv]
|
||||
deps =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue