diff options
author | David Lord <davidism@gmail.com> | 2020-01-10 12:44:39 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2020-01-10 12:44:39 -0800 |
commit | 143667d95d73730415bb1281d1cd5e439b366fec (patch) | |
tree | 0906b1f4ce3357b6a1e9b1936628224d4524199c /tox.ini | |
parent | 126fce8b049e94ffda5adc3b1c3a301998923c98 (diff) | |
download | jinja-143667d95d73730415bb1281d1cd5e439b366fec.tar.gz |
add py 3.8 and style to tests
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,7 +1,8 @@ [tox] envlist = - py{37,36,35,27,py3,py} - docs-html + py{38,37,36,35,27,py3,py} + style + docs coverage skip_missing_interpreters = true @@ -11,13 +12,14 @@ deps = pytest commands = coverage run -p -m pytest --tb=short --basetemp={envtmpdir} {posargs} -[testenv:docs-html] -deps = - Sphinx - Pallets-Sphinx-Themes - sphinxcontrib-log-cabinet - sphinx-issues -commands = sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html +[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 [testenv:coverage] deps = coverage |