flask/tox.ini

35 lines
846 B
INI
Raw Normal View History

2013-05-18 18:27:49 +02:00
[tox]
envlist =
2021-11-11 16:11:43 -08:00
py3{11,10,9,8,7},pypy3{8,7}
2021-11-15 13:08:34 -08:00
py310-min
py37-dev
2020-04-03 17:23:21 -07:00
style
typing
2019-11-18 18:57:43 -08:00
docs
skip_missing_interpreters = true
2013-05-18 18:27:49 +02:00
[testenv]
envtmpdir = {toxworkdir}/tmp/{envname}
deps =
-r requirements/tests.txt
2021-11-15 13:08:34 -08:00
min: -r requirements/tests-pallets-min.txt
dev: -r requirements/tests-pallets-dev.txt
# examples/tutorial[test]
# examples/javascript[test]
# commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests examples}
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests}
2019-05-16 13:53:49 -07:00
2019-11-18 18:57:43 -08:00
[testenv:style]
2019-05-16 13:53:49 -07:00
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:typing]
deps = -r requirements/typing.txt
commands = mypy
2019-11-18 18:57:43 -08:00
[testenv:docs]
deps = -r requirements/docs.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html