forked from orbit-oss/flask
enforce minimum versions in env
This commit is contained in:
parent
a1d0eda789
commit
7e6e68aed9
6 changed files with 12 additions and 15 deletions
6
tox.ini
6
tox.ini
|
|
@ -13,6 +13,8 @@ skip_missing_interpreters = true
|
|||
package = wheel
|
||||
wheel_build_env = .pkg
|
||||
envtmpdir = {toxworkdir}/tmp/{envname}
|
||||
constrain_package_deps = true
|
||||
use_frozen_constraints = true
|
||||
deps =
|
||||
-r requirements/tests.txt
|
||||
min: -r requirements/tests-pallets-min.txt
|
||||
|
|
@ -34,11 +36,15 @@ commands = pre-commit run --all-files
|
|||
[testenv:typing]
|
||||
package = wheel
|
||||
wheel_build_env = .pkg
|
||||
constrain_package_deps = true
|
||||
use_frozen_constraints = true
|
||||
deps = -r requirements/typing.txt
|
||||
commands = mypy
|
||||
|
||||
[testenv:docs]
|
||||
package = wheel
|
||||
wheel_build_env = .pkg
|
||||
constrain_package_deps = true
|
||||
use_frozen_constraints = true
|
||||
deps = -r requirements/docs.txt
|
||||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue