forked from bennylope/django-organizations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
36 lines (33 loc) · 763 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
[tox]
envlist =
flake8,
py{27,34,35}-django{18,19,10,11}
py{36}-django{10,11}
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/organizations
commands = py.test --cov=organizations
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
pypy: pypy
pypy3: pypy3
jython: jython
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django10: Django>=1.10,<1.11
django11: https://github.com/django/django/archive/stable/1.11.x.zip#egg=Django
-r{toxinidir}/requirements-test.txt
[testenv:flake8]
basepython=python
deps=flake8
commands=
flake8 organizations
[flake8]
ignore = E126,E128
max-line-length = 120
exclude = migrations,.ropeproject
max-complexity = 10