-
-
Notifications
You must be signed in to change notification settings - Fork 802
/
tox.ini
31 lines (28 loc) · 675 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tox]
envlist =
py3{12,11,10,9,8}
py38-min
style
docs
skip_missing_interpreters = true
[testenv]
package = wheel
wheel_build_env = .pkg
deps =
-r requirements/tests.txt
min: -r requirements-min/tests-min.txt
constrain_package_deps = true
use_frozen_constraints = true
commands =
coverage run --source=flask_login --module \
pytest -v --tb=short --basetemp={envtmpdir} {posargs}
coverage report
[testenv:style]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files
[testenv:docs]
deps = -r requirements/docs.txt
commands =
sphinx-build -M clean docs docs/_build
sphinx-build -M html docs docs/_build -W