forked from docker/compose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (44 loc) · 822 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
[tox]
envlist = py27,py34,pre-commit
[testenv]
usedevelop=True
passenv =
LD_LIBRARY_PATH
DOCKER_HOST
DOCKER_CERT_PATH
DOCKER_TLS_VERIFY
DOCKER_VERSION
setenv =
HOME=/tmp
deps =
-rrequirements.txt
-rrequirements-dev.txt
commands =
py.test -v \
--cov=compose \
--cov-report html \
--cov-report term \
--cov-config=tox.ini \
{posargs:tests}
[testenv:pre-commit]
skip_install = True
deps =
pre-commit
commands =
pre-commit install
pre-commit run --all-files
# Coverage configuration
[run]
branch = True
[report]
show_missing = true
[html]
directory = coverage-html
# end coverage configuration
[flake8]
max-line-length = 105
# Set this high for now
max-complexity = 11
exclude = compose/packages
[pytest]
addopts = --tb=short -rxs