-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
35 lines (33 loc) · 795 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
[flake8]
ignore = E265,E501
max-complexity = 10
exclude = example_app/stripe/migrations/*,docs/*
[tox]
envlist =
py27-{1.11},
py34-{1.11,2.0},
py35-{1.11,2.0,2.1,master},
py36-{1.11,2.0,2.1,master},
py37-{2.0,2.1,master},
[testenv]
deps =
py{27,33,34,35,36,37}: coverage == 4.0.2
py27: jsonpickle
flake8 == 2.5.0
six
pytest
https://github.com/Schweigi/oauth2client/archive/v4.1.3.tar.gz
1.11: Django>=1.11,<2.0
2.0: Django>=2.0,<2.1
2.1: Django>=2.1,<2.2
master: https://github.com/django/django/tarball/master
usedevelop = True
setenv =
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
PYTHONPATH={toxinidir}
DJANGO_SETTINGS_MODULE=example_app.settings
commands =
flake8 youtube_django
python setup.py test