flask/tox.ini

36 lines
771 B
INI
Raw Normal View History

2013-05-19 00:27:49 +08:00
[tox]
envlist =
2021-11-16 05:08:34 +08:00
py3{11,10,9,8,7,6},pypy3{8,7}
py39-click7
2021-11-16 05:08:34 +08:00
py310-min
py37-dev
2020-04-04 08:23:21 +08:00
style
typing
2019-11-19 10:57:43 +08:00
docs
skip_missing_interpreters = true
2013-05-19 00:27:49 +08:00
[testenv]
deps =
-r requirements/tests.txt
2021-11-16 05:08:34 +08:00
min: -r requirements/tests-pallets-min.txt
dev: -r requirements/tests-pallets-dev.txt
click7: click<8
2021-02-09 10:15:26 +08:00
examples/tutorial[test]
examples/javascript[test]
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests examples}
2019-05-17 04:53:49 +08:00
2019-11-19 10:57:43 +08:00
[testenv:style]
2019-05-17 04:53:49 +08: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-19 10:57:43 +08:00
[testenv:docs]
deps = -r requirements/docs.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html