forked from fnproject/fdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (32 loc) · 849 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
[tox]
envlist = py{3.5,3.6},pep8
skipsdist = True
[testenv]
basepython =
pep8: python3
py3.5: python3.5
py3.6: python3.6
passenv =
DOCKER_HOST
API_URL
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
commands = find . -type f -name "*.pyc" -delete
whitelist_externals = find
rm
go
docker
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:py3.5]
commands = pytest -v -s --tb=long --cov=fdk {toxinidir}/fdk/tests
[testenv:py3.6]
commands = pytest -v -s --tb=long --cov=fdk {toxinidir}/fdk/tests
[flake8]
ignore = H405,H404,H403,H401,H306
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,docs,venv,.venv