-
Notifications
You must be signed in to change notification settings - Fork 9
/
tox.ini
40 lines (35 loc) · 661 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
[tox]
envlist =
py3{11,10,9,8,7},pypy3{8,7}
py310-min
py37-dev
style
typing
docs
flask1
skip_missing_interpreters = True
[testenv]
deps =
-r requirements/tests.txt
-r requirements/examples.txt
commands =
pytest -v
[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:flask1]
deps =
-r requirements/tests.txt
flask == 1.1.4
markupsafe == 2.0.1
commands =
pytest -v {posargs: tests}