flask/tox.ini

30 lines
835 B
INI
Raw Normal View History

2013-05-19 00:27:49 +08:00
[tox]
envlist =
2020-10-10 13:30:11 +08:00
py{39,38,37,36,py3}
2020-04-04 08:23:21 +08:00
style
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
https://github.com/pallets/werkzeug/archive/master.tar.gz
https://github.com/pallets/markupsafe/archive/master.tar.gz
https://github.com/pallets/jinja/archive/master.tar.gz
https://github.com/pallets/itsdangerous/archive/master.tar.gz
https://github.com/pallets/click/archive/master.tar.gz
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
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