2013-05-07 00:56:23 +04:00
|
|
|
[tox]
|
|
|
|
args_are_paths = false
|
2015-11-06 23:38:08 +03:00
|
|
|
skip_missing_interpreters = true
|
2016-07-29 17:49:46 +03:00
|
|
|
envlist = py{27,33,34,35,py,py3}-dj18,py{27,34,35,py}-dj19,flake8
|
2013-05-07 00:56:23 +04:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
usedevelop = true
|
|
|
|
pip_pre = true
|
2015-10-07 18:00:27 +03:00
|
|
|
commands = ./runtests.py
|
2013-05-07 00:56:23 +04:00
|
|
|
deps =
|
2015-11-06 23:38:08 +03:00
|
|
|
dj18: Django>=1.8,<1.9
|
2015-12-28 22:39:21 +03:00
|
|
|
dj19: Django>=1.9,<1.10
|
2016-01-21 00:27:49 +03:00
|
|
|
requests==2.0.0
|
2013-05-07 00:56:23 +04:00
|
|
|
mock==1.0.1
|
|
|
|
nose==1.3.6
|
2016-01-21 00:27:49 +03:00
|
|
|
responses==0.5.0
|
2015-10-01 00:08:56 +03:00
|
|
|
|
2015-11-06 23:38:08 +03:00
|
|
|
[testenv:flake8]
|
2016-01-21 00:27:49 +03:00
|
|
|
deps = flake8==2.5.1
|
2015-11-06 23:38:08 +03:00
|
|
|
commands = flake8 product_details tests
|
|
|
|
|
2015-10-01 00:08:56 +03:00
|
|
|
[flake8]
|
|
|
|
max-line-length=120
|