forked from jazzband/django-model-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (34 loc) · 732 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
[tox]
envlist =
py{36,37,38}-django{21,22,30,trunk}
flake8
[testenv]
deps =
django202: Django==2.2.*
django201: Django==2.1.*
django30: Django==3.0.*
djangotrunk: https://github.com/django/django/archive/master.tar.gz
freezegun == 0.3.12
-rrequirements-test.txt
ignore_outcome =
djangotrunk: True
passenv =
CI
TRAVIS
TRAVIS_*
commands =
pip install -e .
py.test {posargs}
[testenv:flake8]
basepython =
python3.7
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