flask/tox.ini

33 lines
902 B
INI
Raw Normal View History

2013-05-18 18:27:49 +02:00
[tox]
envlist =
2020-10-10 05:30:11 +00:00
py{39,38,37,36,py3}
2020-04-03 17:23:21 -07:00
style
2019-11-18 18:57:43 -08:00
docs
skip_missing_interpreters = true
2013-05-18 18:27:49 +02: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-08 18:15:26 -08:00
examples/tutorial[test]
examples/javascript[test]
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests examples}
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
2019-11-18 18:57:43 -08:00
[testenv:docs]
deps =
-r requirements/docs.txt
https://github.com/pallets/werkzeug/archive/master.tar.gz
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html