forked from bennylope/django-organizations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (36 loc) · 781 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
[tox]
envlist =
flake8,
py{27,34,35,36}-django{111},
py{34,35,36,37}-django{2},
py{35,36,37}-django{21},
pypy-django{111}
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/organizations
commands = pytest --cov=organizations
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
pypy: pypy
pypy3: pypy3
jython: jython
deps =
django18: Django>=1.8,<1.9
django111: Django>=1.11,<2
django2: Django>=2,<2.1
django21: Django>=2.1,<2.2
-r{toxinidir}/requirements-test.txt
[testenv:flake8]
basepython=python3
deps=flake8
commands=
flake8 organizations
[flake8]
ignore = E126,E128,W503
max-line-length = 120
exclude = migrations,.ropeproject
max-complexity = 10