forked from justanr/marshmallow_enum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (28 loc) · 760 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
[tox]
envlist = py{27,34}-marshmallow2,py{35,36,37}-marshmallow{2, 3},cov-report
[testenv]
usedevelop = true
setenv =
COVERAGE_FILE = tests/.coverage.{envname}
PYTHONDONTWRITEBYTECODE = pls
commands =
coverage run -m pytest
deps =
marshmallow2: marshmallow<3.0.0
marshmallow3: marshmallow>=3.0.0rc7
-r{toxinidir}/requirements-test.txt
[testenv:cov-report]
skip_install = true
setenv =
COVERAGE_FILE = tests/.coverage
deps =
-r{toxinidir}/requirements-test.txt
commands =
coverage combine tests
coverage report
coverage html
[pytest]
norecursedirs = .tox .git .cache *.egg
addopts = -vvl --flake8 --capture fd
flake8-ignore = E123,E133,E731
flake8-max-line-length = 100