forked from jazzband/django-oauth-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
54 lines (47 loc) · 983 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
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
envlist =
py27-django{110,111},
py35-django{110,111,master},
py36-djangomaster,
docs,
flake8
[testenv]
commands = pytest --cov=oauth2_provider --cov-report= --cov-append
setenv =
DJANGO_SETTINGS_MODULE = tests.settings
PYTHONPATH = {toxinidir}
PYTHONWARNINGS = all
deps =
django110: Django >=1.10, <1.11
django111: Django >=1.11, <2.0
djangomaster: https://github.com/django/django/archive/master.tar.gz
djangorestframework >=3.5
coverage
pytest
pytest-cov
pytest-django
pytest-xdist
py27: mock
[testenv:docs]
basepython = python
changedir = docs
whitelist_externals = make
commands = make html
deps = sphinx
[testenv:flake8]
commands = flake8
deps =
flake8
flake8-import-order
flake8-quotes
[coverage:run]
source = oauth2_provider
omit = */migrations/*
[pytest]
django_find_project = false
[flake8]
max-line-length = 110
exclude = docs/, migrations/, .tox/
import-order-style = smarkets
application-import-names = oauth2_provider
inline-quotes = "