diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py27,py35,py36,pypy +envlist = py27,py35,py36,pypy,pre-commit tox_pip_extensions_ext_venv_update = true [testenv] @@ -9,8 +9,11 @@ commands = coverage erase coverage run -m pytest {posargs:tests} coverage report --fail-under 100 - pre-commit install -f --install-hooks - pre-commit run --all-files + +[testenv:pre-commit] +skip_install = true +deps = pre-commit +commands = pre-commit run --all-files --show-diff-on-failure [flake8] max-line-length = 119 |