This commit is contained in:
William Ting 2017-07-05 19:30:03 +00:00 committed by GitHub
commit 2e63227bc1
9 changed files with 450 additions and 3 deletions

View file

@ -4,7 +4,8 @@ project = pre_commit_hooks
envlist = py27,py35,py36,pypy
[testenv]
deps = -rrequirements-dev.txt
deps =
-rrequirements-dev.txt
passenv = HOME HOMEPATH PROGRAMDATA
setenv =
GIT_AUTHOR_NAME = "test"
@ -13,8 +14,8 @@ setenv =
GIT_COMMITTER_EMAIL = "test@example.com"
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report --show-missing --fail-under 100
coverage run --source=pre_commit_hooks/ -m pytest -rxs --durations 10 {posargs:tests}
coverage report --show-missing --fail-under 99
pre-commit install -f --install-hooks
pre-commit run --all-files