forked from dennisv/django-storage-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (38 loc) · 879 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
[tox]
skipsdist = true
args_are_paths = false
envlist =
flake8,
isort,
py27-{1.9,1.10,master}
py{34,35}-{1.9,1.10,master}
[testenv]
usedevelop = true
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
deps =
coverage
mock>=2.0.0
1.9: Django>=1.9,<1.10
1.10: Django>=1.10,<1.11
master: https://github.com/django/django/archive/master.tar.gz
setenv =
commands =
{envpython} -R -Wonce {envbindir}/coverage run {envbindir}/django-admin.py test -v2 {posargs} --settings tests.settings
coverage report
[testenv:flake8]
usedevelop = false
basepython = python2.7
commands = flake8
deps = flake8
[testenv:isort]
usedevelop = false
basepython = python2.7
commands = isort --recursive --check-only --diff swift tests
deps = isort==4.2.5
[flake8]
show-source = True
max-line-length = 100
exclude = .env, env, .tox, tests