-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtox.ini
40 lines (35 loc) · 884 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
[tox]
skipsdist = True
envlist =
python{3.7,3.8}-django2.2-wagtail2.12
python{3.7,3.8,3.9}-django3.2-wagtail2.14
basepython =
python3.8: python3.8
python3.9: python3.9
[testenv]
install_command = pip install -e ".[test]" -U {opts} {packages}
commands = pytest --cov wagtail_live {posargs}
extras = test
deps =
wagtail2.12: wagtail>=2.12,<2.13
wagtail2.14: wagtail>=2.14,<2.15
django2.2: django>=2.2,<2.3
django3.2: django>=3.2,<3.3
[testenv:isort]
commands=isort --check-only --diff src/wagtail_live tests setup.py
basepython=python3.8
skip_install=true
deps=
isort==5.8.0
[testenv:black]
commands=black --check --diff src/wagtail_live tests setup.py
basepython=python3.8
skip_install=true
deps=
black==21.5b2
[testenv:flake8]
commands=flake8 src/wagtail_live tests setup.py
basepython=python3.8
skip_install=true
deps=
flake8==3.9.2