forked from klen/mixer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
56 lines (46 loc) · 912 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
52
53
54
55
56
[tox]
envlist = py27-d11,
py36-d{11,21},
cov
skip_missing_interpreters = false
[pytest]
addopts = -xs
[pylama]
ignore=D102,W0231,C0111,W0621,W1001,C1001,R0201,W0212,E1002,E1103,E1123,E731,C0301,D210,F0001,D211,D213,D105
skip=mixer/_compat.py,*/migrations/*
[pylama:tests/*]
ignore=D,F0401,W0212,E1120,W0401,W0614
[pylama:pep8]
max_line_length=100
[testenv]
commands=py.test tests
deps =
flask-sqlalchemy
mongoengine
marshmallow
peewee>=2.7.5
pytest
[testenv:py27-d11]
basepython = python2.7
deps =
django==1.11.15
{[testenv]deps}
[testenv:py36-d11]
basepython = python3.6
deps =
django==1.11.15
{[testenv]deps}
[testenv:py36-d21]
basepython = python3.6
deps =
django==2.1.1
{[testenv]deps}
[testenv:cov]
deps =
coverage
django==1.11.15
pony
{[testenv]deps}
commands =
coverage run -m py.test tests
coverage report