blob: 9b6d471357ea91bcc42e68ebb04066113eaebffd [file] [log] [blame]
IRIS YANG31213572020-08-18 13:17:02 +00001[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