2013-05-18 18:27:49 +02:00
|
|
|
[tox]
|
2017-05-24 15:41:35 -07:00
|
|
|
envlist =
|
2023-04-20 11:07:30 -07:00
|
|
|
py3{12,11,10,9,8}
|
2023-06-27 07:41:15 -07:00
|
|
|
pypy310
|
2023-01-09 10:37:04 -08:00
|
|
|
py311-min
|
2023-04-20 11:07:30 -07:00
|
|
|
py38-dev
|
2020-04-03 17:23:21 -07:00
|
|
|
style
|
2021-04-23 09:44:15 +01:00
|
|
|
typing
|
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]
|
2023-01-09 10:37:04 -08:00
|
|
|
package = wheel
|
|
|
|
|
wheel_build_env = .pkg
|
2022-06-06 08:24:05 -07:00
|
|
|
envtmpdir = {toxworkdir}/tmp/{envname}
|
2023-04-15 12:20:57 -07:00
|
|
|
constrain_package_deps = true
|
|
|
|
|
use_frozen_constraints = true
|
2017-05-24 15:41:35 -07:00
|
|
|
deps =
|
2020-05-23 14:03:11 -07:00
|
|
|
-r requirements/tests.txt
|
2021-11-15 13:08:34 -08:00
|
|
|
min: -r requirements/tests-pallets-min.txt
|
2023-01-09 10:37:04 -08:00
|
|
|
dev: https://github.com/pallets/werkzeug/archive/refs/heads/main.tar.gz
|
|
|
|
|
dev: https://github.com/pallets/jinja/archive/refs/heads/main.tar.gz
|
|
|
|
|
dev: https://github.com/pallets/markupsafe/archive/refs/heads/main.tar.gz
|
|
|
|
|
dev: https://github.com/pallets/itsdangerous/archive/refs/heads/main.tar.gz
|
|
|
|
|
dev: https://github.com/pallets/click/archive/refs/heads/main.tar.gz
|
2022-03-28 12:09:20 -07:00
|
|
|
# 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
|
2023-01-09 10:37:04 -08:00
|
|
|
commands = pre-commit run --all-files
|
2017-05-24 15:41:35 -07:00
|
|
|
|
2021-04-23 09:44:15 +01:00
|
|
|
[testenv:typing]
|
|
|
|
|
deps = -r requirements/typing.txt
|
|
|
|
|
commands = mypy
|
|
|
|
|
|
2019-11-18 18:57:43 -08:00
|
|
|
[testenv:docs]
|
2021-05-11 14:28:49 -07:00
|
|
|
deps = -r requirements/docs.txt
|
2018-01-04 12:34:25 -08:00
|
|
|
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
|