-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathtox.ini
More file actions
71 lines (63 loc) · 1.19 KB
/
tox.ini
File metadata and controls
71 lines (63 loc) · 1.19 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tox]
skipsdist=True
[testenv]
commands=
pip install -e .
pytest -p no:logging --cov=src --cov-config=.coveragerc --cov-branch --cov-report=term-missing --cov-report=xml {posargs}
deps=
pytest
pytest-cov
jinja2
pyjwt
setenv=
PYTHONPATH=libs/common
[testenv:upy]
allowlist_externals=sh
commands=sh -c "bin/micropython run_tests.py"
[testenv:cpy]
allowlist_externals=sh
commands=sh -c "bin/circuitpython run_tests.py"
[testenv:upy-mac]
allowlist_externals=micropython
commands=micropython run_tests.py
[testenv:benchmark]
deps=
flask
quart
fastapi
gunicorn
uvicorn
requests
psutil
humanize
changedir=examples/benchmark
commands=
python run.py
setenv=
PATH={env:PATH}{:}../../bin
[testenv:flake8]
deps=
flake8
commands=
flake8 --ignore=W503 --exclude examples/templates/utemplate/templates src tests examples
[testenv:stubtest]
deps=
mypy
jinja2
pyjwt
setenv=
PYTHONPATH=./libs/common
MYPYPATH=./typings
commands=
pip install -e .
stubtest microdot --allowlist typings/stubtest-allowlist
[testenv:docs]
changedir=docs
deps=
sphinx
furo
pyjwt
allowlist_externals=
make
commands=
make html