flask/tox.ini

63 lines
1.3 KiB
INI
Raw Permalink Normal View History

2013-05-19 00:27:49 +08:00
[tox]
envlist =
2024-11-01 03:28:46 +08:00
py3{13,12,11,10,9}
2023-06-27 22:41:15 +08:00
pypy310
2024-11-01 04:11:06 +08:00
py313-min
2024-10-19 04:19:51 +08:00
py39-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]
package = wheel
wheel_build_env = .pkg
envtmpdir = {toxworkdir}/tmp/{envname}
2023-04-16 03:20:57 +08:00
constrain_package_deps = true
use_frozen_constraints = true
deps =
-r requirements/tests.txt
min: -r requirements/tests-min.txt
dev: -r requirements/tests-dev.txt
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs}
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
[testenv:typing]
deps = -r requirements/typing.txt
2024-08-07 06:46:15 +08:00
commands =
mypy
pyright
2019-11-19 10:57:43 +08:00
[testenv:docs]
deps = -r requirements/docs.txt
2024-04-09 06:28:57 +08:00
commands = sphinx-build -E -W -b dirhtml docs docs/_build/dirhtml
2024-08-24 07:32:33 +08:00
[testenv:update-actions]
labels = update
deps = gha-update
skip_install = true
2024-08-24 07:32:33 +08:00
commands = gha-update
[testenv:update-pre_commit]
labels = update
deps = pre-commit
skip_install = true
commands = pre-commit autoupdate -j4
[testenv:update-requirements]
2024-08-24 07:32:33 +08:00
labels = update
deps = pip-tools
skip_install = true
change_dir = requirements
commands =
2024-08-24 07:32:33 +08:00
pip-compile build.in -q {posargs:-U}
pip-compile docs.in -q {posargs:-U}
pip-compile tests.in -q {posargs:-U}
2024-11-01 04:04:44 +08:00
pip-compile tests-min.in -q
2024-08-24 07:32:33 +08:00
pip-compile typing.in -q {posargs:-U}
pip-compile dev.in -q {posargs:-U}