1[tox] 2envlist = 3 py{39,38,37,36,py3} 4 style 5 typing 6 docs 7skip_missing_interpreters = true 8 9[testenv] 10deps = -r requirements/tests.txt 11commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs} 12 13[testenv:style] 14deps = pre-commit 15skip_install = true 16commands = pre-commit run --all-files --show-diff-on-failure 17 18[testenv:typing] 19deps = -r requirements/typing.txt 20commands = mypy 21 22[testenv:docs] 23deps = -r requirements/docs.txt 24commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html 25