forked from apiflask/apiflask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (41 loc) · 814 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[tox]
envlist =
py3{13,12,11,10,9,8}
pypy310
minimal
style
typing
docs
min-versions
skip_missing_interpreters = True
[testenv]
deps =
-r requirements/tests.txt
-r requirements/examples.txt
commands =
pytest -v
# test with minimal dependencies
# make sure no extra dependencies are introduced
[testenv:minimal]
deps =
-e .
commands =
python -c "from apiflask import APIFlask"
[testenv:style]
deps = pre-commit
skip_install = true
commands =
pre-commit run --all-files
[testenv:docs]
deps = -r requirements/docs.txt
whitelist_externals = mkdocs
commands = mkdocs build
[testenv:typing]
deps = -r requirements/typing.txt
commands = mypy
[testenv:min-versions]
deps =
-r requirements/tests.txt
-r requirements/min-versions.txt
commands =
pytest -v