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