django-model-utils/tox.ini

50 lines
888 B
INI
Raw Normal View History

2011-03-29 16:41:22 +00:00
[tox]
envlist =
2020-11-28 21:51:55 +00:00
py{36,37,38,39}-django{22,30,31,master}
flake8
2011-03-29 16:41:22 +00:00
2020-11-28 21:51:55 +00:00
[travis]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
2011-03-29 16:41:22 +00:00
[testenv]
deps =
freezegun==0.3.12
-rrequirements-test.txt
django22: Django==2.2.*
django30: Django==3.0.*
2020-09-17 10:38:23 +00:00
django31: Django==3.1.*
2020-11-28 21:51:55 +00:00
djangomaster: https://github.com/django/django/archive/master.tar.gz
2018-01-10 09:44:25 +00:00
ignore_outcome =
djangotrunk: True
passenv =
CI
TRAVIS
TRAVIS_*
2017-12-11 14:08:47 +00:00
commands =
pip install -e .
2020-11-28 21:51:55 +00:00
pytest {posargs}
[testenv:py{36,37,38,39}-djangomaster]
ignore_errors = True
[testenv:flake8]
basepython =
python3.7
deps =
flake8
2020-11-28 21:51:55 +00:00
skip_install = True
commands =
flake8 model_utils tests
2018-07-02 18:45:51 +00:00
[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