forked from jazzband/django-model-utils
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
43 lines (39 loc) · 900 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
[tox]
envlist =
py27-django{19,110,111}
py34-django{19,110,111,200}
py35-django{19,110,111,200,201}
py36-django{111,200,201,trunk}
flake8
[testenv]
deps =
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<1.12
django200: Django>=2.0,<2.1
django201: Django>=2.1,<2.2
djangotrunk: https://github.com/django/django/archive/master.tar.gz
freezegun == 0.3.8
-rrequirements-test.txt
ignore_outcome =
djangotrunk: True
passenv =
CI
TRAVIS
TRAVIS_*
commands =
pip install -e .
py.test {posargs}
[testenv:flake8]
basepython =
python3.6
deps =
flake8
commands =
flake8 model_utils tests
[flake8]
ignore =
E731 ; do not assign a lambda expression, use a def
W503 ; line break before binary operator
E402 ; module level import not at top of file
E501 ; line too long