forked from rubgombar1/django-push-notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (41 loc) · 805 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
[tox]
envlist =
py27-django111
py34-django{111}
py36-django{111,20,master}
flake8
[testenv]
setenv =
PYTHONWARNINGS = all
DJANGO_SETTINGS_MODULE = tests.settings
PYTHONPATH = {toxinidir}
commands = pytest
deps =
pytest
pytest-django
mock
djangorestframework>=3.5
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
djangomaster: https://github.com/django/django/archive/master.tar.gz
apns2>=0.3.0
[testenv:flake8]
commands = flake8
deps =
flake8
flake8-isort
flake8-quotes
[flake8]
ignore = W191
max-line-length = 92
exclude = .tox, push_notifications/migrations
inline-quotes = double
[isort]
indent = tab
line_length = 92
lines_after_imports = 2
balanced_wrapping = True
default_section = THIRDPARTY
known_first_party = push_notifications
multi_line_output = 5
skip = .tox/