2013-05-18 18:27:49 +02:00
|
|
|
[tox]
|
2017-05-24 15:41:35 -07:00
|
|
|
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
|
2016-06-03 09:29:12 -07:00
|
|
|
|
2013-05-18 18:27:49 +02:00
|
|
|
[testenv]
|
2017-05-24 15:41:35 -07:00
|
|
|
deps =
|
2020-05-23 14:03:11 -07:00
|
|
|
-r requirements/tests.txt
|
2014-04-26 01:13:19 +02:00
|
|
|
|
2020-11-04 18:00:21 -08:00
|
|
|
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
|
2017-05-23 16:08:46 -07:00
|
|
|
|
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
|
2017-05-24 15:41:35 -07:00
|
|
|
|
2019-11-18 18:57:43 -08:00
|
|
|
[testenv:docs]
|
2021-02-10 21:14:58 +00:00
|
|
|
deps =
|
|
|
|
|
-r requirements/docs.txt
|
|
|
|
|
|
|
|
|
|
https://github.com/pallets/werkzeug/archive/master.tar.gz
|
2018-01-04 12:34:25 -08:00
|
|
|
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
|