forked from rashmi43/platform-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
28 lines (23 loc) · 670 Bytes
/
tox.ini
File metadata and controls
28 lines (23 loc) · 670 Bytes
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
[tox]
envlist = py36,pep8
[testenv:py36]
passenv = DOCKER_HOST DOCKER_MACHINE_NAME DOCKER_TLS_VERIFY DOCKER_CERT_PATH
deps =
pytest==3.6.3
pytest-cov==2.5.1
pytest-mock==1.10.0
pytest-asyncio==0.8.0
commands =
pytest --cov=. --cov-config=.coveragerc --cov-report=term-missing {posargs}
coverage xml
[testenv:pep8]
deps =
flake8==3.5.0
flake8-quotes==1.0.0
flake8-import-order==0.18
pep8-naming==0.7.0
commands =
flake8 \
--max-complexity=15 \
--ignore N802,F401 \
--exclude=./build,.eggs,venv,.venv,.tox,dist,docs,parsetab.py,lextab.py,./asyncy/rpc/http_proxy_pb2.py,./asyncy/rpc/http_proxy_pb2_grpc.py