-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
63 lines (57 loc) · 1.35 KB
/
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
55
56
57
58
59
60
61
62
63
[tox]
envlist = py36, verify, lint3, checkdocs
[testenv:py36]
setenv =
BOTO_CONFIG=/dev/null
AWS_DEFAULT_REGION=us-east-1
AWS_SECRET_ACCESS_KEY=fake_key
AWS_ACCESS_KEY_ID=fake_id
deps =
-r{toxinidir}/requirements/dev.hash
install_command =
python -m pip install --no-deps {opts} {packages}
commands =
pytest --basetemp={envtmpdir} --cov-report term-missing --cov=awsme {posargs:tests}
[testenv:lint3]
skipsdist = true
basepython = python3.6
commands =
pylint src
mypy --ignore-missing-imports src/awsme
install_command =
python -m pip install --no-deps {opts} {packages}
deps =
-r{toxinidir}/requirements/dev.hash
whitelist_externals =
pylint
mypy
[testenv:checkdocs]
skipsdist = true
skip_install = true
commands = python setup.py checkdocs
deps =
collective.checkdocs
pygments
[testenv:verify]
skipsdist = true
skip_install = true
basepython = python3.6
deps = pip-compile-multi
commands =
pip-compile-multi verify
[testenv:lock3]
skipsdist = true
skip_install = true
basepython = python3.6
deps = pip-compile-multi
commands =
pip-compile-multi --no-upgrade
pip-compile-multi --no-upgrade -g base -i txt -o hash
[testenv:upgrade3]
skipsdist = true
skip_install = true
basepython = python3.6
deps = pip-compile-multi
commands =
pip-compile-multi
pip-compile-multi --no-upgrade -g base -i txt -o hash