diff options
author | David Lord <davidism@gmail.com> | 2020-03-07 09:03:16 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2020-03-08 08:28:21 -0700 |
commit | 30b82bfdebcc155acc1a63716ae8fd79a23f73e5 (patch) | |
tree | a9e04e174efca90a3ee8d86c0b35b7cf846af8d0 /tox.ini | |
parent | 8fe37afda8a3fe34f87c9936e72bcd02c0eb77af (diff) | |
download | click-30b82bfdebcc155acc1a63716ae8fd79a23f73e5.tar.gz |
run pre-commit during tests
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,7 @@ [tox] envlist = py{38,37,36,35,27,py3,py} + style docs skip_missing_interpreters = true @@ -10,6 +11,11 @@ deps = colorama commands = pytest --tb=short --basetemp={envtmpdir} {posargs} +[testenv:style] +deps = pre-commit +skip_install = true +commands = pre-commit run --all-files --show-diff-on-failure + [testenv:docs] deps = -r docs/requirements.txt commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html |