-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
51 lines (46 loc) · 1.04 KB
/
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]
skip_missing_interpreters = true
envlist =
syntax
py3{6,7,8}--django2.{0,1,2}
py3{6,7,8,9,10,11}--django3.{0,1,2}
py3{8,9,10,11}--django4.{0,1}
[testenv]
commands =
python dev/manage.py test tests
deps=
django2.0: django>=2.0,<2.1
django2.1: django>=2.1,<2.2
django2.2: django>=2.2,<2.3
django3.0: django>=3.0,<3.1
django3.1: django>=3.1,<3.2
django3.2: django>=3.2,<3.3
django4.0: django>=4.0,<4.1
django4.1: django>=4.1,<4.2
mock
django-extensions
[testenv:syntax]
commands =
isort -rc -c .
flake8
deps =
flake8
isort<5.0.0
[flake8]
ignore = F403,W191,E124,E126,E128
max-line-length = 160
exclude = migrations, setup.py, settings.py, manage.py, .git, .tox, build, dist, *.egg-info
[isort]
indent=4
combine_star=1
combine_as_imports=1
include_trailing_comma=1
multi_line_output=3
lines_after_imports=2
known_django=django
known_future_library=future
known_first_party=
default_section=THIRDPARTY
sections=FUTURE,STDLIB,THIRDPARTY,DJANGO,FIRSTPARTY,LOCALFOLDER
skip_glob=*migrations*
skip=setup.py