forked from FidelityInternational/djangocms-version-locking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (27 loc) · 761 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
[tox]
envlist =
flake8
isort
py{37,38,39}-dj{22,32}-sqlite-cms40
skip_missing_interpreters=True
[testenv]
deps =
flake8: -r{toxinidir}/tests/requirements/requirements_base.txt
isort: -r{toxinidir}/tests/requirements/requirements_base.txt
dj22: -r{toxinidir}/tests/requirements/dj22_cms40.txt
dj32: -r{toxinidir}/tests/requirements/dj32_cms40.txt
basepython =
py37: python3.7
py38: python3.8
py39: python3.9
commands =
{envpython} --version
{env:COMMAND:coverage} erase
{env:COMMAND:coverage} run setup.py test
{env:COMMAND:coverage} report
[testenv:flake8]
commands = flake8
basepython = python3.9
[testenv:isort]
commands = isort --recursive --check-only --diff {toxinidir}
basepython = python3.9