forked from sv0/django-markdown-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
53 lines (41 loc) · 703 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
[tox]
envlist=py36-d20,py35-d20,cov,flake8
[tox:travis]
3.5 = py35
3.6 = py36, cov
[pylama]
skip=example/*
ignore=E1002
[pylama:*/__init__.py]
ignore=C0110,W0401
[pylama:tests/*]
ignore=D
[pylama:*/tests.py]
ignore=D,C0111,E501,C0301
[pylama:*/settings.py]
ignore=E501,C0301
[pytest]
DJANGO_SETTIGNS_MODULE=tests
addopts = -sx tests/__init__.py
[testenv]
commands=pytest
deps =
pytest
[testenv:flake8]
deps=flake8
commands=flake8 django_markdown
[testenv:py35-d20]
deps =
django==2.0.2
{[testenv]deps}
[testenv:py36-d20]
deps =
django==2.0.2
{[testenv]deps}
[testenv:cov]
deps =
coverage
{[testenv]deps}
commands =
coverage run -m py.test
coverage report