forked from jazzband/django-push-notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (44 loc) · 906 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
[tox]
envlist =
py27-django111-apns{030,060}
py{36,37}-django{111,20,22}-apns{030,060}
py37-flake8
[testenv]
setenv =
PYTHONWARNINGS = all
DJANGO_SETTINGS_MODULE = tests.settings
PYTHONPATH = {toxinidir}
commands =
pytest
pytest --ds=tests.settings_unique tests/tst_unique.py
deps =
pytest
pytest-django
mock
pywebpush
djangorestframework>=3.5
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django22: Django>=2.2
apns030: apns2>=0.3.0,<0.6.0
apns060: apns2>=0.6.0
[testenv:py37-flake8]
commands = flake8 --exit-zero
deps =
flake8==3.5.0
flake8-isort
flake8-quotes
[flake8]
ignore = W191,E503
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/