-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
54 lines (49 loc) · 992 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
48
49
50
51
52
53
54
[tox]
envlist =
py36,
py37,
py38,
type,
skip_missing_interpreters = true
skipsdist = true
[base]
passenv =
ORDWAY_EMAIL
ORDWAY_API_KEY
ORDWAY_COMPANY
ORDWAY_USER_TOKEN
ORDWAY_API_VERSION
deps =
-r{toxinidir}/requirements.txt
[testenv]
passenv =
{[base]passenv}
deps =
{[base]deps}
vcrpy==4.0.2
vcrpy-unittest==0.1.7
commands =
python -m unittest discover -s {toxinidir}/tests
[testenv:type]
deps =
{[base]deps}
mypy==0.782
commands =
mypy --config-file {toxinidir}/setup.cfg {toxinidir}/ordway
[testenv:coverage]
passenv =
{[base]passenv}
deps =
{[base]deps}
coverage==5.2
vcrpy==4.0.2
vcrpy-unittest==0.1.7
commands =
coverage run -m unittest discover -s {toxinidir}/tests
coverage combine --rcfile {toxinidir}/setup.cfg
coverage report -m --skip-empty --rcfile {toxinidir}/setup.cfg
[testenv:format]
deps =
black==20.8b1
commands =
black --check {toxinidir}/ordway