forked from HearthSim/dj-paypal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
51 lines (45 loc) · 931 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
[tox]
isolated_build = True
envlist =
py36-django{22,30,master}
flake8
checkmigrations
[pytest]
DJANGO_SETTINGS_MODULE = tests.settings
[testenv]
setenv =
PYTHONPATH = {toxinidir}
PYTHONWARNINGS = all
commands = pytest -v --showlocals {posargs}
deps =
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
djangomaster: https://github.com/django/django/archive/master.tar.gz
iso8601
psycopg2
pytest
pytest-django
[testenv:checkmigrations]
commands = python makemigrations.py --check
[testenv:flake8]
skip_install = True
commands =
flake8
deps =
flake8==3.7.9
flake8-quotes==2.1.1
flake8-isort==2.7.0
[flake8]
ignore = E117, W191, W504
exclude = .tox/, .venv/, src/djpaypal/migrations/
inline-quotes = double
max-line-length = 92
[isort]
indent = tab
line_length = 92
lines_after_imports = 2
balanced_wrapping = True
default_section = THIRDPARTY
known_first_party = djpaypal
multi_line_output = 5
skip = .tox/